.trade-shop-toggle {
	
	border-top: 2px solid var(--wp--preset--color--grey-200);
	border-bottom: 2px solid var(--wp--preset--color--grey-200);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--35);
}
.trade-shop-toggle .trade-shop-toggle-content{
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--35);
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
}
.trade-shop-toggle .trade-shop-toggle-switch-container{
	display:flex;
	align-items:center;
	gap:0;
}
.trade-shop-toggle .trade-shop-toggle-switch-container a {
	display:flex;
	align-items:center;
	gap:var(--wp--preset--spacing--10);
	border: 2px solid var(--wp--preset--color--grey-200);
	padding: var(--wp--preset--spacing--15) var(--wp--preset--spacing--25);
	text-decoration: none;
	font-family:var(--wp--preset--font-family--header-font);
	font-size: var(--wp--preset--font-size--large);
	position:relative;
	overflow:hidden;
	transition:all 0.3s ease-in-out;
}
.trade-shop-toggle .trade-shop-toggle-switch-container a svg path{
	stroke:currentColor;
}
.trade-shop-toggle .trade-shop-toggle-switch-container a:first-of-type{
	border-right-width:1px;
	border-top-left-radius: 28px;
	border-bottom-left-radius: 28px;
}
.trade-shop-toggle .trade-shop-toggle-switch-container a:last-of-type{
	border-left-width:1px;
	border-top-right-radius: 28px;
	border-bottom-right-radius: 28px;
}
.trade-shop-toggle a::after{
	content:'';
	opacity:0;
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	background: var(--wp--preset--gradient--pink-gradient);
	color: var(--wp--preset--color--base);
	z-index:0;
	transition:all 0.3s ease-in-out;
}

.trade-shop-toggle a.is-active {
	background: var(--wp--preset--gradient--purple-gradient);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--primary-600);
}
.trade-shop-toggle a > *{
	position:relative;
	z-index:1;
}

.trade-shop-toggle a:hover{
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--secondary-200);
}
.trade-shop-toggle a:hover::after{
	opacity:1;
}

.trade-shop-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
}

.trade-shop-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--25);
	text-align: center;
	padding: var(--wp--preset--spacing--25) var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--grey-200);
	border-top: none;
	text-decoration: none;
	color: inherit;
}

.trade-shop-card-image img {
	aspect-ratio: 1;
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	box-shadow: var(--wp--preset--shadow--thin-drop-shadow);
}

.trade-shop-filters {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 1rem;
	border-bottom: 2px solid var(--wp--preset--color--grey-200);
}

.trade-shop-filter-group {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.trade-shop-product.is-hidden {
	display: none;
}

@media  screen and (max-width: 1400px) {
	
		.group-filter-query-block .wp-block-columns .wp-block-column{
			flex-wrap:wrap!important;
			flex:1 1 50%;
		}
	.group-filter-query-block .wp-block-columns .wp-block-column .wp-block-buttons .wp-block-button{
		flex:1 1 75px;
	}
	/*.group-filter-query-block .wp-block-columns .wp-block-column .filter-group{*/
	/*	flex:1 1 33%;*/
	/*}*/
	/*.group-filter-query-block .wp-block-columns .wp-block-column .filter-group:last-of-type{*/
	/*	flex:1 1 63%;*/
	/*}*/
	.group-filter-query-block .wp-block-columns .wp-block-column .filter-group:first-of-type .filter-title{
		border-left-width:0;
	}
	.trade-shop-block .group-filter-query-block .wp-block-columns .wp-block-column:before{
		text-align:center;
		width:100%;
		border-left-width:0;
	}
	.group-filter-query-block .wp-block-columns .wp-block-column{
		justify-content:center;
	}
}

@media  screen and (max-width: 1280px) {
	
	.trade-shop-block .group-filter-query-block .wp-block-columns .wp-block-column .filter-group {
		flex-direction: column;
		flex: 0 1 33%;
	}
	.trade-shop-block .group-filter-query-block .wp-block-columns .wp-block-column .filter-group:last-of-type {
		flex: 0 1 63%;
	}
	.group-filter-query-block .wp-block-columns .wp-block-buttons .wp-block-button:has([data-term=all]) {
		top:var(--wp--preset--spacing--10,8px);
		left:auto;
		right: 0;
		gap: 0;
		height:20px;
	}
	.group-filter-query-block .wp-block-columns .wp-block-column .filter-group .filter-title{
		border-left-width:0;
	}
	.group-filter-query-block .wp-block-columns .wp-block-column .filter-group:last-of-type{
		border-left: 1px solid var(--wp--preset--color--grey-200);
	}
	
	.group-filter-query-block .wp-block-columns .wp-block-buttons .wp-block-button:has([data-term=all]) > a {
		display:flex;
		justify-content:flex-end;
		padding-bottom:0!important;
	}
	
	.trade-shop-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	
}
@media screen and (max-width: 1024px) {
	.group-filter-query-block .wp-block-columns .wp-block-buttons .wp-block-button:has([data-term=all]) {
		top:var(--wp--preset--spacing--10,8px);
		left:auto;
		right: var(--wp--preset--spacing--25, 15px);;
		gap: 0;
		height:20px;
	}
	.trade-shop-block .group-filter-query-block .wp-block-columns .wp-block-column{
		flex: 1 1 100%;
		row-gap: 0;
	}
	.trade-shop-block .group-filter-query-block .wp-block-columns .wp-block-column .filter-group {
		flex: 0 1 100%!important;

	}
	.group-filter-query-block .wp-block-columns .wp-block-buttons .wp-block-button{
		display:flex;
	}
	.group-filter-query-block .wp-block-columns .wp-block-column .wp-block-buttons .wp-block-button:not(:has([data-term=all])){
		flex: 0 1 75px;
	}
	.group-filter-query-block .wp-block-columns .wp-block-column .filter-group{
	row-gap:0;
	}

	.group-filter-query-block .wp-block-columns .wp-block-column .filter-group:last-of-type {
		border-left-width:0;
		border-top: 1px solid var(--wp--preset--color--grey-200);
	}
	
	.group-filter-query-block .wp-block-columns .wp-block-buttons .wp-block-button:has([data-term=all]) {}
	
}
@media (max-width: 768px) {
	.group-filter-query-block .wp-block-columns .wp-block-column .filter-title{
		border-left-width: 0px;
	}

	.group-filter-query-block .wp-block-columns .wp-block-column .filter-group:first-of-type{
		border-bottom:1px solid var(--wp--preset--color--grey-200);
		padding-bottom:var(--wp--preset--spacing--20, 16px);
	}
	
	.trade-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.trade-shop-toggle-content{
		flex-direction: column;
	}
}
@media (max-width: 600px) {
	.trade-shop-toggle .trade-shop-toggle-switch-container{
		flex-direction:column;
		width:70%;
	}
	.trade-shop-toggle .trade-shop-toggle-switch-container > a{
		width:100%;
		display:flex;
		justify-content:space-between;
	}
	.trade-shop-toggle .trade-shop-toggle-switch-container > a:first-of-type{
		border-radius: 28px 28px 0 0;
		flex-direction:row-reverse;
	}
	.trade-shop-toggle .trade-shop-toggle-switch-container > a:last-of-type{
		border-radius: 0 0 28px 28px;
	}
}
@media (max-width: 500px) {
	.trade-shop-toggle .trade-shop-toggle-switch-container{
		width:100%
	}
}