.gb-shop {
	--gb-green: #087a3b;
	--gb-ink: #252525;
	--gb-muted: #737b73;
	--gb-line: #e7e9e5;
	max-width: 1180px;
	margin: 0 auto;
	padding: 48px 20px 64px;
	color: var(--gb-ink);
}

.gb-shop *,
.gb-shop *::before,
.gb-shop *::after {
	box-sizing: border-box;
}

.gb-shop__heading {
	margin-bottom: 28px;
}

.gb-shop__eyebrow {
	margin: 0 0 6px;
	color: var(--gb-green);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1.6px;
}

.gb-shop__heading h1 {
	margin: 0;
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 700;
	line-height: 1.2;
}

.gb-shop__heading .term-description {
	max-width: 680px;
	margin-top: 10px;
	color: var(--gb-muted);
	font-size: 14px;
}

.gb-shop__layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	align-items: start;
	gap: 26px;
}

.gb-shop__filters {
	border: 1px solid var(--gb-line);
	padding: 15px;
}

.gb-shop__filters > summary {
	color: var(--gb-ink);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.gb-shop__filters > summary::-webkit-details-marker {
	display: none;
}

.gb-shop__filter-content {
	margin-top: 14px;
}

.gb-shop__filter-group {
	border-top: 1px solid var(--gb-line);
	padding: 14px 0;
}

.gb-shop__filter-group h2,
.gb-shop__price-filter .widget-title {
	margin: 0 0 12px;
	color: var(--gb-ink);
	font-size: 12px;
	font-weight: 700;
}

.gb-shop__categories,
.gb-shop__categories ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gb-shop__categories ul {
	padding: 7px 0 0 12px;
}

.gb-shop__categories li {
	margin: 0;
	padding: 5px 0;
	font-size: 12px;
}

.gb-shop__categories a {
	color: var(--gb-ink);
	text-decoration: none;
}

.gb-shop__categories a:hover,
.gb-shop__categories .current-cat > a {
	color: var(--gb-green);
}

.gb-shop__categories .count {
	margin-left: 4px;
	color: var(--gb-muted);
	font-size: 11px;
}

.gb-shop__price-filter .widget {
	margin: 0;
}

.gb-shop__price-filter .widget-title {
	display: block;
}

.gb-shop__price-filter .price_slider_wrapper {
	padding-top: 4px;
}

.gb-shop__price-filter .ui-slider {
	position: relative;
	height: 4px;
	margin: 10px 4px 18px;
	border: 0;
	background: #dce5dc;
}

.gb-shop__price-filter .ui-slider-range {
	position: absolute;
	height: 100%;
	background: var(--gb-green);
}

.gb-shop__price-filter .ui-slider-handle {
	position: absolute;
	top: -5px;
	width: 14px;
	height: 14px;
	margin-left: -5px;
	border: 2px solid var(--gb-green);
	border-radius: 50%;
	background: #fff;
	cursor: grab;
}

.gb-shop__price-filter .price_slider_amount {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 12px;
}

.gb-shop__price-filter .button {
	order: 2;
	border: 0;
	border-radius: 3px;
	padding: 8px 12px;
	background: var(--gb-green);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}

.gb-shop__price-filter .price_label {
	order: 1;
	color: var(--gb-muted);
}

.gb-shop__catalog {
	min-width: 0;
}

.gb-shop__search {
	display: flex;
	min-height: 42px;
	margin-bottom: 16px;
	border: 1px solid var(--gb-line);
	border-radius: 4px;
	background: #fff;
}

.gb-shop__search:focus-within {
	border-color: var(--gb-green);
	box-shadow: 0 0 0 2px rgb(8 122 59 / 10%);
}

.gb-shop__search input[type="search"] {
	width: 100%;
	min-width: 0;
	border: 0;
	padding: 0 13px;
	background: transparent;
	color: var(--gb-ink);
	font: inherit;
}

.gb-shop__search button {
	flex: 0 0 auto;
	border: 0;
	padding: 0 15px;
	background: transparent;
	color: var(--gb-green);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.gb-shop__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--gb-muted);
	font-size: 12px;
}

.gb-shop__toolbar p,
.gb-shop__toolbar form {
	margin: 0;
}

.gb-shop__toolbar .woocommerce-ordering select {
	max-width: 100%;
	border: 1px solid var(--gb-line);
	border-radius: 3px;
	padding: 8px;
	background: #fff;
	color: var(--gb-ink);
	font: inherit;
}

.gb-shop ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
}

.gb-shop ul.products::before,
.gb-shop ul.products::after {
	display: none !important;
}

.gb-shop ul.products li.product {
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	border: 1px solid #e8ebe5;
	border-radius: 4px;
	padding: 10px;
	overflow: hidden;
	background: #fff;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gb-shop ul.products li.product:hover,
.gb-shop ul.products li.product:focus-within {
	transform: translateY(-3px);
	border-color: #b7d5bd;
	box-shadow: 0 8px 20px rgb(24 35 24 / 9%);
}

.gb-shop ul.products li.product a img {
	width: 100%;
	height: 190px;
	margin: 0 0 12px;
	object-fit: contain;
}

.gb-shop ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	color: var(--gb-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.gb-shop ul.products li.product .price {
	margin: 7px 0;
	color: var(--gb-green);
	font-size: 14px;
	font-weight: 700;
}

.gb-shop ul.products li.product .price del {
	color: #92988f;
	font-size: 12px;
	font-weight: 400;
}

.gb-shop ul.products li.product .price ins {
	text-decoration: none;
}

.gb-shop ul.products li.product .star-rating {
	margin: 6px 0;
	color: #e4a327;
	font-size: 11px;
}

.gb-shop ul.products li.product a.button,
.gb-shop .woocommerce-pagination a,
.gb-shop .woocommerce-pagination span {
	border: 1px solid var(--gb-green);
	border-radius: 3px;
	padding: 9px 12px;
	background: var(--gb-green);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.gb-shop ul.products li.product a.button:hover,
.gb-shop .woocommerce-pagination a:hover {
	background: #066631;
	color: #fff;
}

.gb-shop ul.products li.product .onsale {
	top: 8px;
	left: 8px;
	min-height: 0;
	margin: 0;
	border-radius: 3px;
	padding: 5px 8px;
	background: #f36a21;
	font-size: 10px;
	line-height: 1.3;
}

.gb-shop .woocommerce-pagination {
	margin-top: 28px;
}

.gb-shop .woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 6px;
	border: 0;
}

.gb-shop .woocommerce-pagination li {
	border: 0 !important;
}

.gb-shop .woocommerce-pagination a,
.gb-shop .woocommerce-pagination span {
	display: block;
	background: #fff;
	color: var(--gb-green);
}

.gb-shop .woocommerce-pagination span.current {
	background: var(--gb-green);
	color: #fff;
}

.gb-shop .woocommerce-info,
.gb-shop .woocommerce-message {
	border-top-color: var(--gb-green);
}

.gb-shop .woocommerce-info::before,
.gb-shop .woocommerce-message::before {
	color: var(--gb-green);
}

@media (max-width: 900px) {
	.gb-shop__layout {
		grid-template-columns: 190px minmax(0, 1fr);
		gap: 18px;
	}

	.gb-shop ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.gb-shop {
		padding: 34px 14px 46px;
	}

	.gb-shop__heading {
		margin-bottom: 20px;
	}

	.gb-shop__layout {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}

	.gb-shop__filters,
	.gb-shop__catalog {
		width: 100%;
	}

	.gb-shop__filters {
		padding: 12px;
	}

	.gb-shop__filters > summary {
		color: var(--gb-green);
	}

	.gb-shop__toolbar {
		align-items: flex-start;
	}

	.gb-shop__toolbar .woocommerce-ordering {
		width: 100%;
	}

	.gb-shop__toolbar .woocommerce-ordering select {
		width: 100%;
	}

	.gb-shop ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
	}

	.gb-shop ul.products li.product {
		padding: 8px;
	}

	.gb-shop ul.products li.product a img {
		height: 140px;
	}

	.gb-shop ul.products li.product .woocommerce-loop-product__title {
		font-size: 12px;
	}
}
