/*
Theme Name: Holland Dredging Industries - Shop
Theme URI: https://www.scherponline.nl/
Template: hdi2024
Author: Scherponline
Author URI: http://scherponline.nl/
Description: Holland Dredging Industries WordPress theme
Version: 1.0
License: Holland Dredging Industries
License URI: https://www.scherponline.nl/
Tags: two-columns, right-sidebar, flexible-width
Text Domain: scherponline
*/


.site-main {
	padding-top: 120px;
}

@media (max-width: 830px) {
/* 	.woocommerce  .site-main {
		padding-top: 0;
	} */

	.shop_filters {
		position: fixed;
	}
}

.shop_left_wrapper {
	position: sticky;
	top: 124px;
	max-height: calc(100dvh - 200px);
	overflow-y: auto;
	margin-top: 48px;

	.shop_filters {
		background: var(--color-wit);
		border-radius: 10px;
		padding: 16px;
		box-sizing: border-box;

		& +.wp-block-buttons {
			justify-content: center;
		}
		
	}

	.wp-block-buttons {
		margin-top: 24px;
	}
}

@media screen and (max-width: 1440px) {
	.shop_filters {
		margin-top: 52px;
	}
}

@media screen and (max-width: 830px) {
	.shop_filters {
		margin-top: 0;
	}
}

.shop_filters::-webkit-scrollbar {
	width: 8px;
}
.shop_filters::-webkit-scrollbar-track {
	background: transparent;
	border-radius: 10px;
}

.shop_filters::-webkit-scrollbar-thumb {
	background-color: #c4c4c4;
	border-radius: 10px;
}

.shop_filters h4 {
	font-size: 14px;
	line-height: 24px;
	font-weight: 600;
	position: relative;
}

.shop_filters .wp-block-heading img {
	width: 24px;
	margin: 0;
}

.filter-dropdown > div {
	max-height: 0;
	overflow: hidden;
	transition: all .2s ease-in-out;
}

.filter-dropdown.active > div {
	max-height: 200vh;
}

.filter-dropdown > .wp-block-heading:first-child {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	transition: all .1s ease-in-out;
}

.filter-dropdown > .wp-block-heading:first-child:hover {
	opacity: .8;
}

.filter-dropdown > .wp-block-heading:first-child:after {
	content: '';
	width: 20px;
	aspect-ratio: 1/1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3C!-- Icon from Akar Icons by Arturo Wibawa - https://github.com/artcoholic/akar-icons/blob/master/LICENSE --%3E%3Cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 10l6 6l6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	transition: all .2s ease-in-out;
}

.filter-dropdown.active > .wp-block-heading:first-child:after {
	transform: rotate(180deg);
}

.wp-block-woocommerce-filter-wrapper h3:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	height: 17px;
	width: 17px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.828' height='9.221'%3E%3Cg data-name='Group 76'%3E%3Cpath fill='none' stroke='%23282423' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m15.414 1.415-6.67 6.67a.466.466 0 0 1-.66 0l-6.67-6.67' data-name='Path 55'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	transform: rotate(0);
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.wp-block-woocommerce-filter-wrapper.active h3:after {
	transform: rotate(180deg);
}

.wc-block-product-categories-list-item-count,
.wc-filter-element-label-list-count {
	color: var(--color-text);
	margin-left: 16px;
	font-size: 14px;
}

.wc-block-product-categories-list-item-count:before,
.wc-block-product-categories-list-item-count:after,
.wc-filter-element-label-list-count:before,
.wc-filter-element-label-list-count:after {
	content: none !important;
}

.wp-block-woocommerce-filter-wrapper {
	margin-bottom: 48px;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] {
	background-color: transparent !important;
	border: solid 1px var(--color-text) !important;
	min-height: 24px !important;
	min-width: 24px !important;
	border-radius: 2px !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__label, .wc-block-components-checkbox > span {
	color: var(--color-intro);
	font-size: 16px;
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
	width: 20px !important;
    height: 18px !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked  {
	background-color: var(--color-orange) !important;
	border: solid 1px var(--color-orange) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked + .wc-block-components-checkbox__mark {
	filter: brightness(0) invert(1);
}

.wc-block-components-filter-reset-button:hover {
	color: var(--color-orange) !important;
	text-decoration: underline !important;
}

.woocommerce-pagination ul {
	display: block;
	text-align: center;
}

.woocommerce-pagination ul li {
	display: inline-block;
	margin: 8px;
}

.woocommerce-pagination ul li .current {
	border: solid 1px var(--color-orange);
	border-radius: 3px;
	padding: 6px 14px;
}

.woocommerce-pagination ul li a {
	display: block;
	color: var(--color-text);
	text-decoration: none;
	width: 30px;
	height: 30px;
	box-sizing: border-box;
}

.woocommerce-pagination ul li a:hover {
	color: var(--color-orange);
}