.gfc-card__image {
	position: relative;
	min-height: 0;
	aspect-ratio: 6/3;
	padding: 1rem;
	background: var(--light)
}

.gfc-card .gfc-card__image img {
	position: absolute;
	inset: 1rem;
	width: calc(100% - 2rem);
	height: calc(100% - 2rem);
	object-fit: contain
}

.gfc-catalog__intro {
	padding-bottom: 0
}

.gdn-shop-wrap {
	padding: 2rem;
	background: #fff
}

.gfc-layout>.gdn-shop-wrap {
	min-width: 0
}

.gfc-categories__title {
	grid-column: 1/-1;
	margin-bottom: .25rem;
	font-weight: 700;
	color: var(--dark)
}

.gfc-categories a {
	font-size: .9rem;
	font-weight: 400;
	color: var(--color)
}

.gfc-categories a strong {
	font-weight: inherit
}

.gfc-categories a>span {
	color: var(--gray)
}

.gfc-categories a:hover {
	color: var(--dark)
}

.gfc-categories--sidebar {
	display: grid;
	gap: .5rem;
	margin: 0 0 1.5rem
}

.gfc-categories--sidebar a {
	display: flex;
	justify-content: space-between;
	gap: .75rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent
}

.gfc-card__category {
	margin: 0 0 .5rem;
	font-size: .8rem;
	color: var(--gray)
}

.gfc-card__title {
	font-size: 1.125rem;
	font-weight: bold
}

.gfc-sort .gdn-select {
	min-width: 220px
}

.gfc-filters {
	font-size: .9rem
}

.gfc-checkbox {
	position: relative;
	align-items: center
}

.gfc-checkbox input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	opacity: 0
}

.gfc-checkbox__box {
	display: grid;
	place-items: center;
	flex: none;
	width: 1rem;
	height: 1rem;
	border: 1px solid #d1d5db;
	border-radius: .2rem;
	background: #fff
}

.gfc-checkbox__box::after {
	width: .3rem;
	height: .55rem;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	transform: translateY(-.05rem) rotate(45deg);
	opacity: 0
}

.gfc-checkbox input:checked+.gfc-checkbox__box {
	border-color: var(--color);
	background: var(--color)
}

.gfc-checkbox input:checked+.gfc-checkbox__box::after {
	opacity: 1
}

.gfc-checkbox input:focus-visible+.gfc-checkbox__box {
	outline: 2px solid var(--color);
	outline-offset: 2px
}

.gfc-filter-toggle,.gfc-filter-close,.gfc-filter-backdrop {
	display: none
}

.gfc-filter-toggle {
	align-items: center;
	gap: .5rem;
	color: #fff;
	padding-left: 1rem !important;
}

.gfc-filter-toggle__icon {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
	fill: currentColor;
	position: absolute;
	left: 2rem;
}

.gfc-grid {
	grid-template-columns: 1fr;
	max-width: none
}

.gfc-pagination {
	margin-top: 2rem
}

.gfc-pagination.pages {
	flex-wrap: wrap
}

.gfc-pagination__link.is-current,#pagination .gfc-pagination__link.current {
	background: var(--light);
	color: var(--dark)
}

@media(min-width: 768px) {
	.gfc-grid {
		grid-template-columns:repeat(2,minmax(0,1fr))
	}
}

@media(min-width: 1024px) {
	.gfc-grid {
		grid-template-columns:repeat(3,minmax(0,1fr))
	}
}

@media(min-width: 1366px) {
	.gfc-grid {
		grid-template-columns:repeat(3,minmax(0,1fr))
	}

	.gfc-layout--no-filters {
		grid-template-columns: minmax(0,1fr)
	}

	.gfc-layout--no-filters .gfc-grid {
		grid-template-columns: repeat(4,minmax(0,1fr))
	}
}

@media(max-width: 1365px) {
	html.gfc-filters-open,html.gfc-filters-open body {
		overflow:hidden;
		overscroll-behavior: none
	}

	.gfc-filters-open .gfc-catalog {
		z-index: 3
	}

	.gfc-layout {
		grid-template-columns: minmax(0,1fr)
	}

	.gfc-filter-toggle {
		display: inline-flex;
		justify-self: start
	}

	.gfc-layout>.gdn-shop-filter {
		box-sizing: border-box;
		display: block;
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 10001;
		width: min(280px,calc(100vw - 3rem));
		height: 100dvh;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		transform: translateX(-100%);
		transition: transform .25s ease
	}

	.gfc-filter-close {
		display: grid;
		place-items: center;
		position: sticky;
		top: 0;
		z-index: 1;
		width: 2.5rem;
		height: 2.5rem;
		margin: 0 0 1rem auto;
		border: 0;
		border-radius: 50%;
		background: var(--light);
		color: var(--dark);
		font-size: 1.5rem;
		cursor: pointer
	}

	.gfc-filter-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 10000;
		border: 0;
		background: rgb(0 0 0 / 45%);
		opacity: 0;
		pointer-events: none;
		transition: opacity .25s ease
	}

	.gfc-filters-open .gfc-layout>.gdn-shop-filter {
		transform: translateX(0)
	}

	.gfc-filters-open .gfc-filter-backdrop {
		opacity: 1;
		pointer-events: auto
	}
}

@media(max-width: 800px) {
	.gdn-shop-wrap {
		padding:1rem
	}

	.gfc-sort .gdn-select {
		width: 100%
	}
}

.gfc-search {
	padding: 3rem 0 5rem
}

.gfc-search__header {
	margin-bottom: 2rem
}

.gfc-search__header p {
	margin-bottom: 0
}

.gfc-search__section+.gfc-search__section {
	margin-top: 3rem
}

.gfc-search__section>h2 {
	margin: 0 0 1.5rem
}

.gfc-search__groups {
	max-width: 70rem
}

.gfc-search__group {
	padding: 1.5rem 0;
	border-top: 1px solid #e1e5e8
}

.gfc-search__group h3 {
	margin: 0 0 1rem
}

.gfc-search__empty {
	margin: 0
}

.gfc-search #pagination {
	margin-top: 3rem
}

@media(min-width: 1366px) {
	.gfc-search__products {
		grid-template-columns:repeat(4,minmax(0,1fr))
	}
}

@media(max-width: 800px) {
	.gfc-search {
		padding:2rem 0 3rem
	}

	.gfc-search__section+.gfc-search__section {
		margin-top: 2rem
	}
}
@media(max-width: 499px) {
  .gfc-filter-toggle {
	padding-left: 2rem !important;
}
}
