/* Furbly AJAX filter */
.fb-shop { --fbg: var(--fb-accent, #C8F53C); --fbt: var(--fb-accent-ink, #4A6B00); --fon: var(--fb-on-accent, #0F1311); --fink: var(--fb-ink, #0F1311); --fmut: var(--fb-muted, #5B605C); --fmint: var(--fb-tint, #EEF8D2); --fline: var(--fb-line, #E3E5E0); --fcream: var(--fb-bg, #F2F3F0); display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 2rem; align-items: start; clear: both; }
.fb-results { min-width: 0; transition: opacity .2s; }
.fb-results.is-loading { opacity: .45; pointer-events: none; }
.fb-filter { position: static; }
.fb-filter__head, .fb-filter__foot { display: none; }
.fb-fbox { background: #fff; border: 1px solid var(--fline); border-radius: 16px; padding: 1.125rem 1.25rem 1rem; margin: 0 0 .75rem; min-width: 0; }
.fb-fbox__title { float: left; width: 100%; padding: 0; font-family: 'Geist', sans-serif; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fink); margin: 0 0 .75rem; }
.fb-fbox__list { clear: both; }
.fb-check { display: flex; align-items: center; gap: .625rem; padding: .3rem 0; cursor: pointer; font-size: .9375rem; color: var(--fink); position: relative; }
.fb-check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fb-check__box { flex: 0 0 18px; height: 18px; border: 1.5px solid #B9BDB5; border-radius: 5px; background: #fff; position: relative; transition: background-color .15s, border-color .15s; }
.fb-check__box::after { content: ''; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .15s; }
.fb-check:hover .fb-check__box { border-color: var(--fbt); }
.fb-check input:checked + .fb-check__box { background: var(--fbt); border-color: var(--fbt); }
.fb-check input:checked + .fb-check__box::after { transform: rotate(45deg) scale(1); }
.fb-check input:focus-visible + .fb-check__box { outline: 2px solid var(--fbt); outline-offset: 2px; }
.fb-check__label { flex: 1 1 auto; line-height: 1.3; }
.fb-check input:checked ~ .fb-check__label { font-weight: 500; }
.fb-check__count { font-size: .8125rem; color: var(--fmut); min-width: 1.75rem; text-align: right; font-variant-numeric: tabular-nums; }
.fb-check.is-empty { opacity: .5; }
.fb-fbox.is-long:not(.is-open) .fb-check:nth-child(n+7) { display: none; }
.fb-fbox__more { background: none; border: 0; padding: .375rem 0 0; color: var(--fbt); font: 500 .875rem 'Geist', sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fb-fbox__more:hover, .fb-fbox__more:focus { background: none; color: var(--fink); }
/* price */
.fb-price__inputs { display: flex; align-items: center; gap: .5rem; clear: both; }
.fb-price__inputs label { flex: 1 1 0; display: flex; align-items: center; gap: .25rem; border: 1px solid var(--fline); border-radius: 10px; padding: 0 .75rem; background: #fff; min-width: 0; }
.fb-price__inputs label:focus-within { border-color: var(--fbt); }
.fb-price__inputs input { border: 0 !important; width: 100%; min-width: 0; padding: .55rem 0 !important; font: inherit; font-size: .9375rem; color: var(--fink); background: transparent !important; box-shadow: none !important; outline: 0; -moz-appearance: textfield; }
.fb-price__inputs input::-webkit-outer-spin-button, .fb-price__inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fb-price__inputs label > span:not(.screen-reader-text) { color: var(--fmut); font-size: .875rem; }
.fb-price__dash { flex: 0 0 8px; height: 1.5px; background: var(--fmut); }
.fb-range { position: relative; height: 28px; margin: .875rem 2px .125rem; }
.fb-range__track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--fline); }
.fb-range__fill { position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 4px; background: var(--fbg); }
.fb-range input[type=range] { position: absolute; left: 0; top: 0; width: 100%; height: 28px; margin: 0; padding: 0; background: transparent !important; border: 0 !important; -webkit-appearance: none; appearance: none; pointer-events: none; }
.fb-range input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 28px; }
.fb-range input[type=range]::-moz-range-track { background: transparent; height: 28px; }
.fb-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: #fff; border: 2px solid var(--fbt); cursor: grab; transition: transform .15s; }
.fb-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--fbt); cursor: grab; }
.fb-range input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
/* toolbar + active chips */
.fb-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1rem; }
.fb-toolbar:empty { display: none; }
.fb-filter-toggle { display: none; align-items: center; gap: .5rem; background: #fff !important; color: var(--fink) !important; border: 1px solid var(--fline) !important; border-radius: 10px; padding: .55rem 1rem; font: 500 .9375rem 'Geist', sans-serif; cursor: pointer; }
.fb-filter-toggle::before { content: ''; width: 16px; height: 12px; background: linear-gradient(var(--fbt), var(--fbt)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--fbt), var(--fbt)) 3px 5px / 10px 2px no-repeat, linear-gradient(var(--fbt), var(--fbt)) 6px 10px / 4px 2px no-repeat; }
.fb-filter-toggle__n { background: var(--fbg); color: var(--fon); border-radius: 10px; font-size: .75rem; line-height: 1; padding: .25rem .45rem; }
.fb-active { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.fb-active__chip { display: inline-flex; align-items: center; gap: .45rem; background: var(--fmint) !important; color: var(--fbt) !important; border: 0 !important; border-radius: 10px; padding: .45rem .75rem; font: 500 .875rem 'Geist', sans-serif; cursor: pointer; transition: background-color .15s; }
.fb-active__chip:hover { background: #E2F2B0 !important; }
.fb-active__chip span[aria-hidden] { font-size: 1.125rem; line-height: .8; }
.fb-active__clear { font-size: .875rem; color: var(--fmut); text-decoration: underline; text-underline-offset: 3px; margin-left: .25rem; }
.fb-active__clear:hover { color: var(--fbt); }
.fb-results .woocommerce-result-count { margin-top: .6rem; }
/* empty */
.fb-empty { background: #fff; border: 1px solid var(--fline); border-radius: 16px; padding: 3.5rem 2rem; text-align: center; clear: both; }
.fb-empty__title { font-family: 'Geist', sans-serif; font-weight: 700; letter-spacing: -0.04em; font-size: 1.625rem; color: var(--fink); margin: 0 0 .5rem; }
.fb-empty p { color: var(--fmut); margin: 0 0 1.5rem; }
/* tablet + mobile drawer */
@media (max-width: 1024px) {
	.fb-shop { grid-template-columns: minmax(0, 1fr); }
	.fb-filter-toggle { display: inline-flex; }
	.fb-filter { position: fixed; top: 0 !important; left: 0; bottom: 0; width: min(360px, 88vw); max-height: none !important; height: 100%; z-index: 100000; background: var(--fcream); transform: translateX(-102%); transition: transform .3s ease; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 0 40px rgba(15, 19, 17, .18); }
	.fb-filter-open .fb-filter { transform: none; }
	.fb-filter-open { overflow: hidden; }
	.fb-filter-open::after { content: ''; position: fixed; inset: 0; background: rgba(15, 19, 17, .4); z-index: 99999; }
	.fb-filter__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 20px; border-bottom: 1px solid var(--fline); }
	.fb-filter__heading { font-family: 'Geist', sans-serif; font-weight: 700; letter-spacing: -0.04em; font-size: 1.5rem; margin: 0; color: var(--fink); }
	.fb-filter__close { background: none !important; border: 0 !important; color: var(--fink) !important; font-size: 1.75rem; line-height: 1; padding: .25rem .5rem; cursor: pointer; }
	.fb-filter__form { flex: 1 1 auto; overflow-y: auto; padding: 1rem 20px; }
	.fb-filter__foot { display: block; padding: 1rem 20px; border-top: 1px solid var(--fline); }
	.fb-filter__apply { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .fb-filter, .fb-results, .fb-check__box, .fb-check__box::after { transition: none; } }
@media (max-width: 1024px) { .fb-filter__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-right: -10px; font-size: 2rem !important; } .fb-check { padding: .45rem 0; } }
