.lbp-sf {
	--lbp-sf-green: #6fbf45;
	--lbp-sf-green-dark: #589936;
	--lbp-sf-ink: #222;
	--lbp-sf-muted: #6f6f6f;
	--lbp-sf-line: #e7e7e7;
	--lbp-sf-soft: #f6f6f6;
	--lbp-sf-columns: 2;
	color: var(--lbp-sf-ink);
	font-size: 14px;
	line-height: 1.4;
}

.lbp-sf,
.lbp-sf * {
	box-sizing: border-box;
}

.lbp-sf .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.lbp-sf-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
}

.lbp-sf-toolbar__start,
.lbp-sf-toolbar__end,
.lbp-sf-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.lbp-sf-toolbar__end {
	margin-left: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	height: 100%;
	align-items: stretch;
}

.lbp-sf-toolbar__end label {
	display: flex;
	align-items: center;
}

.lbp-sf-ordered {
	margin: 0;
	color: var(--lbp-sf-ink);
	font-size: 13px;
	font-weight: 700;
}

.lbp-sf-ordered .lbp-sf-option__mark,
.lbp-sf-fav-filter .lbp-sf-option__mark {
	width: 22px;
	height: 22px;
	flex-basis: 22px;
	font-size: 22px;
}

.lbp-sf-fav-filter {
	margin: 0;
	color: var(--lbp-sf-ink);
	font-size: 13px;
	font-weight: 700;
}

.lbp-sf-chip {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 6px 10px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	background: #fff;
	color: var(--lbp-sf-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
}

.lbp-sf-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.lbp-sf-chip input:checked + .lbp-sf-chip__mark,
.lbp-sf-chip.is-active .lbp-sf-chip__mark {
	color: currentColor;
}

.lbp-sf-chip__mark {
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: #c4c4c4;
}

.lbp-sf-chip.is-active,
.lbp-sf-chip:has(input:checked) {
	border-color: var(--lbp-sf-green);
	background: #f3faeb;
	color: #2f6d16;
}

.lbp-sf-search input,
.lbp-sf-sort select {
	display: flex;
	height: 100%;
	border: 2px solid #F5F0E1;
	border-radius: 0px;
	background: #fff;
	font-size: 14px;
}

.lbp-sf-search input {
	min-width: 180px;
	padding: 0 12px;
}

.lbp-sf-sort {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}

.lbp-sf-sort select {
	padding: 0 28px 0 10px;
	max-width: 220px;
}

.lbp-sf button.lbp-sf-btn,
.lbp-sf a.lbp-sf-btn,
.lbp-sf span.lbp-sf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: 4px;
	background: var(--lbp-sf-green);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	width: auto;
	float: none;
}

.lbp-sf button.lbp-sf-btn:hover,
.lbp-sf a.lbp-sf-btn:hover,
.lbp-sf button.lbp-sf-btn:focus,
.lbp-sf a.lbp-sf-btn:focus {
	background: var(--lbp-sf-green-dark);
	color: #fff;
}

.lbp-sf .lbp-sf-btn--disabled,
.lbp-sf button.lbp-sf-btn:disabled {
	background: #cfcfcf;
	color: #fff;
	cursor: default;
}

form.hub-filters {
	margin-bottom: 0px;
}

.lbp-sf button.lbp-sf-btn.lbp-sf-filters-btn {
	font-size: 16px;
	font-weight: 400;
	background-color: #43B31A;
	border-radius: 0px;
	padding: 20px;
}

.lbp-sf-filters-btn::after {
	content: '\f1de';
	font-family: 'Font Awesome 7 Pro';
	display: inline-flex;
}

.lbp-sf-filters-btn__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 99px;
	background: #fff;
	color: var(--lbp-sf-green-dark);
	font-size: 11px;
}

.lbp-sf-active {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
    height: 100%;
    align-items: stretch;
}

.lbp-sf-active__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 15px;
	border-radius: 50px;
	background: #F5F0E1;
	color: #672E2B;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.lbp-sf-active__chip:hover {
	background: #F18A10;
	color: white;
}

.lbp-sf-active__chip:focus {
	border-color: #F18A10;
	outline-color: #F18A10;
}

.lbp-sf-active__chip span.remove {
	margin-left: 10px;
}

.lbp-sf-active__chip span.remove::before {
	content: '\f00d';
	font-family: 'Font Awesome 7 Pro';
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	display: inline-flex;
}

.lbp-sf-grid {
	display: grid;
	grid-template-columns: repeat(var(--lbp-sf-columns, 2), minmax(0, 1fr));
	column-gap: 36px;
}

.lbp-sf-card {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 12px 14px;
	align-items: start;
	padding: 14px 0 16px;
	border-bottom: 1px solid var(--lbp-sf-line);
}

.lbp-sf-card:not(:has(.lbp-sf-card__media)) {
	grid-template-columns: minmax(0, 1fr);
}

.lbp-sf-card__media {
	display: block;
	width: 84px;
	height: 84px;
	overflow: hidden;
	border-radius: 4px;
	background: var(--lbp-sf-soft);
}

.lbp-sf-card__media img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}

.lbp-sf-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.lbp-sf-card__tools {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex: 0 0 auto;
}

.lbp-sf-fav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: -4px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #c4c4c4;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.lbp-sf-fav.is-on {
	color: var(--lbp-sf-ink);
}

.lbp-sf-fav:focus-visible {
	outline: 2px solid var(--lbp-sf-green);
	outline-offset: 2px;
}

.lbp-sf .lbp-sf-card__title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.lbp-sf .lbp-sf-card__title a {
	color: var(--lbp-sf-ink);
	text-decoration: none;
}

.lbp-sf .lbp-sf-card__title a:hover {
	color: var(--lbp-sf-green-dark);
}

.lbp-sf-card__price {
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.lbp-sf-card__price del {
	color: #9a9a9a;
	font-weight: 500;
	margin-right: 4px;
}

.lbp-sf-card__price ins {
	text-decoration: none;
}

.lbp-sf-card__meta,
.lbp-sf-card__sku {
	margin: 4px 0 0;
	color: var(--lbp-sf-muted);
	font-size: 12px;
}

.lbp-sf-card__sku {
	margin-top: 2px;
	letter-spacing: 0.02em;
}

.lbp-sf-card__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 8px;
}

.lbp-sf-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lbp-sf-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
}

.lbp-sf-badge--green {
	background: #e7f6dc;
	color: #2f7d32;
}

.lbp-sf-badge--pink {
	background: #fde7f1;
	color: #c2185b;
}

.lbp-sf-badge--amber {
	background: #fff4d6;
	color: #8a5a00;
}

.lbp-sf-badge--neutral {
	background: #f1f1f1;
	color: #444;
}

.lbp-sf-card__buy {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.lbp-sf-qty {
	display: inline-flex;
	align-items: center;
	height: 36px;
	border: 1px solid #d7d7d7;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

.lbp-sf-qty__btn {
	width: 30px;
	height: 36px;
	border: 0;
	background: transparent;
	color: var(--lbp-sf-ink);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

.lbp-sf-qty__btn:hover {
	background: var(--lbp-sf-soft);
}

.lbp-sf-qty input {
	width: 36px;
	height: 34px;
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--lbp-sf-ink);
	font: inherit;
	font-size: 14px;
	text-align: center;
	box-shadow: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.lbp-sf-qty input::-webkit-outer-spin-button,
.lbp-sf-qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.lbp-sf-card__notice {
	margin: 6px 0 0;
	font-size: 12px;
	color: #9b3a4a;
}

.lbp-sf-card__notice.is-ok {
	color: var(--lbp-sf-green-dark);
}

.lbp-sf-empty {
	grid-column: 1 / -1;
	margin: 28px 0;
	color: var(--lbp-sf-muted);
}

.lbp-sf.is-loading .lbp-sf-grid {
	opacity: 0.55;
}

.lbp-sf-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 30px;
	border: 0;
	background: transparent;
	color: #672E2B;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	cursor: pointer;
}

.lbp-sf-loader:hover {
	background-color: transparent;
	border-color: transparent;
	color: #672E2B;
}

.lbp-sf-loader[hidden] {
	display: none !important;
}

.lbp-sf-loader__icon {
	width: 18px;
	height: 18px;
	animation: lbp-sf-bob 1.1s ease-in-out infinite;
}

.lbp-sf.is-loading .lbp-sf-loader__icon {
	animation-duration: 0.6s;
}

@keyframes lbp-sf-bob {
	0%,
	100% { transform: translateY(0); }
	50% { transform: translateY(4px); }
}

.lbp-sf-pagination {
	margin-top: 22px;
}

.lbp-sf-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lbp-sf-pagination a,
.lbp-sf-pagination span {
	display: inline-flex;
	min-width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
	border: 1px solid var(--lbp-sf-line);
	border-radius: 4px;
	color: var(--lbp-sf-ink);
	text-decoration: none;
}

.lbp-sf-pagination .current {
	background: var(--lbp-sf-green);
	border-color: var(--lbp-sf-green);
	color: #fff;
}

.lbp-sf-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 40px 20px;
	overflow: auto;
    opacity: 1;
    backdrop-filter: blur(5px);
    background-color: #f5f0e1bf;
}

.lbp-sf-modal[hidden] {
	display: none;
}

body.admin-bar .lbp-sf-modal {
	top: 32px;
}

.lbp-sf-modal__dialog {
	width: min(1120px, 100%);
	margin: 0 auto 40px;
	padding: 26px 32px 32px;
	background: #fff;
	border-radius: 0px;
	/*box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);*/
	position: relative;
}

.lbp-sf-modal__header {
	display: flex;
	align-items: center;
	gap: 16px;
}

.lbp-sf .lbp-sf-modal__header h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.lbp-sf-modal__reset {
	margin-left: auto;
	background: transparent;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
    background-color: white;
    border: 2px solid #F5F0E1;
    font-weight: 500;
    padding: 15px;
}

.lbp-sf-modal__reset:hover {
	text-decoration: none;
	background-color: #FBB519;
    border-color: #FBB519;
}

.lbp-sf-modal__close {
	position: absolute;
	right: 0;
	top: 0;
	background-color: white;
	width: 50px;
	height: 50px;
	max-width: 50px;
	max-height: 50px;
	border-radius: 50px;
	padding: 0px;
	opacity: 1;
	z-index: 1;
	margin-top: -25px;
	margin-right: -25px;
}

.lbp-sf-modal__close span::before {
	content: '\f00d';
	font-family: 'Font Awesome 7 Pro';
	font-size: 22px;
	font-weight: 900;
}

.lbp-sf-modal__close:hover {
	background-color: #F18A10;
	color: white;
}

.lbp-sf-modal__hint {
	margin: 6px 0 22px;
	color: var(--lbp-sf-muted);
	font-size: 13px;
}

.lbp-sf-groups {
	display: flex;
	flex-direction: column;
}

.lbp-sf-group {
	margin-bottom: 30px;
}

.lbp-sf-group--full,
.lbp-sf-group--terms {
	grid-column: 1 / -1;
}

/* “All {Category}” modal checkboxes: .lbp-sf-option--all, .lbp-sf-option--all-parent, .lbp-sf-option--all-{slug} */
.lbp-sf-term-card .lbp-sf-option--all,
.lbp-sf-term-card .lbp-sf-option--all-parent {
	font-weight: 600;
	margin-bottom: 6px;
}

.lbp-sf-term-cards {
	/*display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));*/
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.lbp-sf-term-card {
	display: flex;
	flex-direction: column;
	min-width: 200px;
	max-width: 25%;
	padding: 12px;
}

.lbp-sf-term-card.grouped .lbp-sf-options {
	margin-bottom: 15px;
}

.lbp-sf .lbp-sf-term-card__title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

h4.lbp-sf-term-card__title {
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
}

.lbp-sf-term-card__title.savouries {
	color: #672E2B;
}

.lbp-sf-term-card__title.viennoiserie {
	color: #F18A10;
}

.lbp-sf-term-card__title.boulangerie {
	color: #7FD3EF;
}

.lbp-sf-term-card__title.patisserie {
	color: #A3E053;
}

.lbp-sf-term-card__title.reception {
	color: #3B66AC;
}

.lbp-sf-term-card__title.sweet-bakery {
	color: #EF7FAE;
}

.lbp-sf-term-card__title.fruit-and-vegetables {
	color: #AE2E81;
}

.lbp-sf-term-card__title.packaging {
	color: #97971F;
}

.lbp-sf-term-card__title.unox {
	color: #FAB626;
}

.lbp-sf .lbp-sf-group__title {
	margin: 0px 0px 15px 0px;
	font-size: 16px;
	font-weight: 500;
	padding-bottom: 15px;
	border-bottom: 1px #40403F dashed;
}

.lbp-sf-group__desc {
	margin: -4px 0 10px;
	color: var(--lbp-sf-muted);
	font-size: 12px;
}

.lbp-sf-group--exclude .lbp-sf-group__desc {
	color: #9b3a4a;
}

.lbp-sf-options--checkbox {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

.lbp-sf-group--full .lbp-sf-options--checkbox{
	display: flex;
	flex-direction: column;
	gap: 8px 18px;
}
.lbp-sf-options--pills {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.lbp-sf-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #333;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
}

.lbp-sf-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.lbp-sf-option__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background-color: #F5F0E1;
	position: relative;
}

.lbp-sf-option__mark::before {
	content: '\f00c';
	font-family: 'Font Awesome 7 Pro';
	font-size: 14px;
	font-weight: 500;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	color: white;
	display: none;
	line-height: 1;
}

.lbp-sf-group.lbp-sf-group--exclude .lbp-sf-option__mark::before {
	content: '\f00d';
}

.lbp-sf-option input:checked + .lbp-sf-option__mark {
	background-color: #43B31A;
}

.lbp-sf-group.lbp-sf-group--exclude .lbp-sf-option input:checked + .lbp-sf-option__mark {
	background-color: #DD4A15;
}

.lbp-sf-option input:checked + .lbp-sf-option__mark::before {
	display: block;
}

.lbp-sf-option--pill {
	align-items: center;
	padding: 6px 12px;
	border: 1px solid #ddd;
	border-radius: 99px;
}

.lbp-sf-option--pill:has(input:checked) {
	border-color: var(--lbp-sf-green);
	background: #f3faeb;
}

.lbp-sf-modal__apply {
	margin-top: 24px;
}

.lbp-sf button:focus-visible,
.lbp-sf a:focus-visible,
.lbp-sf input:focus-visible,
.lbp-sf select:focus-visible {
	border-color: #43B31A;
}

body.lbp-sf-modal-open {
	overflow: hidden;
}

.lbp-sf-native-loop,
body.lbp-sf-shop .woocommerce-pagination,
body.lbp-sf-shop .woocommerce-result-count,
body.lbp-sf-shop .storefront-sorting,
body.lbp-sf-shop ul.products {
	display: none !important;
}

@media (max-width: 860px) {
	.lbp-sf-grid {
		grid-template-columns: 1fr;
		column-gap: 0;
	}

	.lbp-sf-modal {
		padding: 0;
	}

	.lbp-sf-modal__dialog {
		min-height: 100%;
		border-radius: 0;
		padding: 20px 16px 32px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .lbp-sf-modal {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lbp-sf-loader__icon {
		animation: none;
	}
}
