/* wc-block-product-filters */
.wc-block-product-filters {
	width: auto;
	margin: 0 !important;
}

.wc-block-product-filters[data-wp-interactive] .wc-block-product-filters__open-overlay {
	width: 100px;
	height: 30px;
	background: url(../images/btn-filter.svg) no-repeat center;
	cursor: pointer;
}

.wc-block-product-filters[data-wp-interactive] .wc-block-product-filters__open-overlay * {
	display: none;
}

.wc-block-product-filters[data-wp-interactive] .wc-block-product-filters__open-overlay:hover {
	opacity: 0.5;
}

.wc-block-product-filters[data-wp-interactive]:not(.is-overlay-opened) .wc-block-product-filters__overlay-dialog {
	transform: translateX(calc(100vw*-1));
}

.wc-block-product-filters[data-wp-interactive].is-overlay-opened .wc-block-product-filters__overlay-dialog {
	display: block !important;
	max-width: 75%;
	row-gap: 0;
	transform: translateX(0);
}

.wc-block-product-filters[data-wp-interactive].is-overlay-opened .wc-block-product-filters__overlay-wrapper {
	cursor: pointer;
}

.wc-block-product-filters[data-wp-interactive].is-overlay-opened .wc-block-product-filters__overlay-header {
	padding: 0;
	margin: 0;
}

.wc-block-product-filters[data-wp-interactive].is-overlay-opened .wc-block-product-filters__close-overlay {
	position: absolute;
	right: var(--wp--preset--spacing--60);
	top: var(--wp--preset--spacing--60);
	z-index: 1;
}

.wc-block-product-filters[data-wp-interactive].is-overlay-opened .wc-block-product-filters__overlay-footer {
	box-shadow: none;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--60);
	margin: 0 var(--wp--preset--spacing--40);
}

.wc-block-product-filters[data-wp-interactive].is-overlay-opened .wc-block-product-filters__apply {
	border-radius: 12px;
}

@media (min-width: 601px) {
	.wc-block-product-filters[data-wp-interactive]
		.wc-block-product-filters__open-overlay {
		display: block;
	}

	.wc-block-product-filters[data-wp-interactive]
		.wc-block-product-filters__overlay-header,
	.wc-block-product-filters[data-wp-interactive]
		.wc-block-product-filters__overlay-footer {
		display: flex;
	}

	.wc-block-product-filters[data-wp-interactive]
		.wc-block-product-filters__overlay {
		background: transparent;
		pointer-events: none;
		position: fixed;
		inset: 0;
		top: var(--top-padding);
		transition: background-color 0.5s;
	}

	.wc-block-product-filters[data-wp-interactive]
		.wc-block-product-filters__overlay-wrapper {
		height: 100%;
		width: 100%;
	}

	.wc-block-product-filters[data-wp-interactive]:not(.is-overlay-opened)
		.wc-block-product-filters__overlay-dialog {
		position: absolute;
		inset: 0;
		transform: translateX(calc(100vw*-1));
		transition: none;
	}

	.wc-block-product-filters[data-wp-interactive]
		.wc-block-product-filters__overlay-content {
		overflow-y: scroll;
		padding: 0 var(--wp--preset--spacing--40);
	}

	.wc-block-product-filters[data-wp-interactive].is-overlay-opened
		.wc-block-product-filters__overlay {
		top: 0;
		background-color: rgba(95, 95, 95, 0.35);
		pointer-events: auto;
		z-index: 9999;
	}

	.wc-block-product-filters[data-wp-interactive].is-overlay-opened
		.wc-block-product-filters__overlay-dialog {
		position: absolute;
		max-width: 440px;
		inset: 0;
		background-color: #fff;
		transform: translateX(0);
		transition: transform 0.5s;
	}
}

/* wp-block-woocommerce-product-collection */
.wc-block-product-template__responsive.columns-4 {
	grid-template-columns: repeat(auto-fill, minmax(max(240px, calc(25% - .9375em)), 1fr));
}

.wc-block-product img {
	border-radius: 12px;
}

.wc-block-product .subheading {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}

.wc-block-product .wc-product-meta {
	position: absolute;
	display: flex;
	left: 0;
	top: 0;
	bottom: 0;
	flex-direction: column;
	justify-content: space-between;
	padding: 12px;
	margin-block-start: 0;
	pointer-events: none;
}

.wc-block-product .wp-block-post-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wc-block-product .wp-block-post-terms a {
	font-size: var(--wp--preset--font-size--x-small);
	padding: 4px 8px;
	background: var(--wp--preset--color--white);
	border-radius: 6px;
	text-decoration: none;
}

.wc-block-product .wp-block-post-terms .wp-block-post-terms__separator {
	display: none;
}

.wc-block-product .wc-product-color {
	display: flex;
	gap: 4px;
	margin: 0 !important;
}

.wc-block-product .wc-product-color span {
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

/* Product Single */
.wc-block-product-gallery-large-image {
	border-radius: 12px;
}

.wc-block-product-gallery-thumbnails img {
	border-radius: 12px;
}

/* Carousel-Slider */
.wp-block-cb-carousel-v2 img {
	border-radius: 12px;
}

.wp-block-cb-carousel-v2 figcaption {
	text-align: left;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
}

.wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal {
	bottom: 0;
}

.wp-block-cb-carousel-v2 .cb-pagination .cb-pagination-bullet {
	width: 12px;
	height: 12px;
	opacity: 1;
	background: var(--wp--preset--color--earth);
}

.wp-block-cb-carousel-v2
	.cb-pagination
	.cb-pagination-bullet.swiper-pagination-bullet-active {
	background: var(--wp--preset--color--green);
}


/* Jobs */
.mcgx-job-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mcgx-job-meta span {
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--white);
	padding: 4px 8px;
	background: var(--wp--preset--color--dark-green);
	border-radius: 6px;
}
