/* Scoped to catalog only. Cart, checkout, product pages and homepage are untouched. */
.nbf-catalog{color:#27221f;width:100%;box-sizing:border-box}
.nbf-catalog .woocommerce-products-header{margin-bottom:32px}
.nbf-catalog .woocommerce-products-header h1{margin-bottom:18px}
.nbf-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:36px;align-items:start}
.nbf-panel{min-width:0;border:1px solid #e4dcd4;padding:22px;background:#fcfaf7}
.nbf-panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:22px}
.nbf-panel-heading h2{font:400 23px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.02em;margin:0}
.nbf-form fieldset{border:0;border-top:1px solid #e4dcd4;min-width:0;padding:20px 0 0;margin:0 0 24px}
.nbf-form legend{font:600 14px/1.4 Arial,sans-serif;padding:0 8px 0 0}
.nbf-check{display:flex;gap:9px;align-items:flex-start;margin:0 0 12px;cursor:pointer;font:400 14px/1.45 Arial,sans-serif}
.nbf-check input{width:17px;height:17px;flex:0 0 17px;margin:2px 0 0;accent-color:#714b32}
.nbf-colors,.nbf-sizes{display:flex;flex-wrap:wrap;gap:8px}
.nbf-choice{position:relative;cursor:pointer;display:block;margin:0}
.nbf-choice input{position:absolute;opacity:0;width:1px;height:1px}
.nbf-choice span{display:flex;align-items:center;justify-content:center;min-width:39px;min-height:40px;padding:7px 10px;border:1px solid #bcae9f;background:#fff;color:#27221f;font:400 14px/1.4 Arial,sans-serif}
.nbf-choice input:checked+span{background:#714b32;color:#fff;border-color:#714b32}
.nbf-choice input:focus-visible+span{outline:2px solid #714b32;outline-offset:3px}
.nbf-price{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.nbf-price label{font:400 13px/1.4 Arial,sans-serif;min-width:0}
.nbf-catalog .nbf-price input{width:100%;min-width:0;min-height:42px;padding:8px;margin-top:6px;font:400 15px/1.4 Arial,sans-serif;color:#27221f;background:#fff;border:1px solid #bcae9f}
.nbf-form-actions{display:flex;flex-direction:column;gap:14px;align-items:stretch}
.nbf-catalog .nbf-primary{background:#714b32;color:#fff;border:1px solid #714b32;padding:12px 14px;min-height:46px;line-height:1.3;font-size:14px;gap:8px;border-radius:0;cursor:pointer}
.nbf-catalog .nbf-primary:hover{background:#51331f}
.nbf-reset{color:#714b32;font-size:14px;text-align:center;text-decoration:underline;text-underline-offset:4px}
.nbf-content{min-width:0}
.nbf-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}
.nbf-count{margin:0;font-size:14px;line-height:1.5}
.nbf-sort{display:flex;align-items:center;gap:10px;font-size:13px}
.nbf-catalog .nbf-sort select{min-height:42px;padding:8px;font-size:14px;max-width:220px;background:#fff;color:#27221f}
.nbf-catalog ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:30px 20px!important;clear:both}
.nbf-catalog ul.products li.product{min-width:0;width:auto!important;margin:0!important;float:none!important}
.nbf-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.nbf-chip{display:inline-flex;align-items:center;gap:10px;padding:7px 10px;background:#f1ece5;color:#51331f;text-decoration:none;font:400 13px/1.5 Arial,sans-serif}
.nbf-chip span{font-size:19px;line-height:1}
.nbf-pagination{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:8px;margin:32px 0 0}
.nbf-pagination a,.nbf-pagination [aria-current]{display:flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:8px;border:1px solid #dcd5cc;text-decoration:none;font-size:14px}
.nbf-pagination [aria-current]{background:#714b32;color:#fff;border-color:#714b32}
.nbf-empty{background:#fcfaf7;border:1px solid #e4dcd4;padding:32px 24px}
.nbf-empty h2{font-size:28px}.nbf-empty p{font-size:16px}
.nbf-error{padding:16px;background:#fff2e9;border:1px solid #b48c72;font-size:14px}
#nbf-results{scroll-margin-top:60px;transition:opacity .15s}
#nbf-results[aria-busy=true]{opacity:.55;pointer-events:none}
.nbf-catalog :focus-visible{outline:2px solid #714b32;outline-offset:3px}
.nbf-catalog .nbf-open,.nbf-catalog .nbf-close,.nbf-catalog .nbf-overlay{display:none}
.nbf-catalog [hidden]{display:none!important}
@media(max-width:1100px){.nbf-layout{grid-template-columns:210px minmax(0,1fr);gap:24px}.nbf-panel{padding:18px}.nbf-catalog ul.products{gap:26px 16px!important}}
@media(max-width:900px){
 .nbf-layout{display:block}.nbf-panel{margin-bottom:24px}.nbf-toolbar{align-items:flex-start}.nbf-sort{flex-wrap:wrap}
 .nbf-catalog ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .nbf-enhanced .nbf-open{display:inline-flex;margin-bottom:20px;min-width:140px}
 .nbf-enhanced .nbf-panel{display:none}
 .nbf-enhanced.nbf-drawer-open .nbf-panel{display:block;position:fixed;z-index:100002;top:0;bottom:0;left:0;width:min(370px,90vw);max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding:24px;margin:0;box-shadow:8px 0 36px #0002}
 .admin-bar .nbf-enhanced.nbf-drawer-open .nbf-panel{top:46px;max-height:calc(100dvh - 46px)}
 .nbf-enhanced.nbf-drawer-open .nbf-close{display:inline-flex;background:transparent;color:#51331f;border:0;font-size:30px;min-width:44px;min-height:44px;padding:0;line-height:1}
 .nbf-enhanced.nbf-drawer-open .nbf-overlay{display:block;position:fixed;inset:0;z-index:100001;background:#0006;border:0;padding:0;width:100%;height:100%;border-radius:0}
 .nbf-form-actions{padding-bottom:env(safe-area-inset-bottom,12px)}
}
@media(max-width:540px){.nbf-toolbar{display:block}.nbf-count{margin-bottom:12px}.nbf-sort{justify-content:space-between}.nbf-catalog .nbf-sort select{max-width:100%;min-width:0}.nbf-catalog ul.products{gap:24px 12px!important}.nbf-catalog ul.products li.product .woocommerce-loop-product__title{font-size:14px}.nbf-catalog ul.products li.product .button{font-size:13px!important;padding:10px!important;gap:4px!important}}
@media(prefers-reduced-motion:reduce){#nbf-results{transition:none}}
.nbf-catalog ul.products li.product a.button{background:#714b32!important;color:#fff!important;border:1px solid #714b32!important;padding:10px 14px;min-height:42px;line-height:1.3;font-size:14px;text-decoration:none}
.nbf-catalog ul.products li.product a.button:hover,.nbf-catalog ul.products li.product a.button:focus-visible{background:#51331f!important;border-color:#51331f!important}
.nbf-catalog span.onsale{background:#714b32;color:#fff}
