/* odstęp nad nagłówkiem: zerujemy górne marginesy motywu na stronach kategorii */
body.category #content,body.category .site-content,body.category .site-content__wrap,body.category .site-main,body.category #primary{padding-top:0!important;margin-top:0!important}
.bfkat-main{max-width:1360px;margin:0 auto;padding:16px clamp(16px,3vw,40px) 40px}
.bfkat-hero{position:relative;overflow:hidden;display:flex;align-items:center;min-height:300px;margin:0 0 20px;padding:32px 40px;border-radius:26px;background:linear-gradient(120deg,#FFF1E4 0%,#FFF8F1 55%,#FBFAF8 100%);border:1px solid #FDE3CB}
.bfkat-hero__img{position:absolute;right:0;bottom:0;width:46%;height:100%;object-fit:contain;object-position:right bottom;margin:0;max-width:none;pointer-events:none}
.bfkat-hero.has-img::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#FFF3E7 0%,#FFF5EC 42%,rgba(255,246,238,0) 64%);pointer-events:none}
.bfkat-hero__in{position:relative;z-index:1;display:flex;flex-direction:column;gap:14px;max-width:640px}
.bfkat .bfp-crumbs{flex-wrap:wrap;margin:0}
.bfkat-hero__title{display:flex;align-items:center;gap:14px}
.bfkat-hero__ico{width:54px;height:54px;flex:none;border-radius:16px;background:#fff;color:var(--or);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px rgba(254,124,1,.16)}
.bfkat-facts{display:flex!important;flex-wrap:wrap;gap:8px}
.bfkat-facts li{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;background:#fff;font-size:13px;font-weight:600;color:var(--ink);box-shadow:0 2px 8px rgba(22,24,29,.05)}
.bfkat-facts svg{color:var(--or)}
.bfkat-subs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 36px}
.bfkat-sub{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink)!important;font-size:14px;font-weight:600;white-space:nowrap;transition:border-color .15s}
.bfkat-sub span{font-size:11px;font-weight:700;color:#8D9098}
.bfkat-sub:hover{border-color:#FDC99A}
.bfkat-sub.is-on{background:var(--or);border-color:var(--or);color:#fff!important}
.bfkat-sub.is-on span{color:rgba(255,255,255,.85)}
.bfkat-hero+.bfkat-list,.bfkat-hero+.bfp-sec{margin-top:36px}
.bfkat-empty{display:flex;align-items:center;gap:18px;padding:28px;border-radius:22px;background:#fff;border:1px dashed #FDC99A}
.bfkat-empty>div{flex:1;display:flex;flex-direction:column;gap:6px}
.bfkat .bfkat-others__t{margin:0 0 14px}
.bfkat-others{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.bfkat-other{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid var(--line);color:var(--ink)!important;font-size:14px;font-weight:600}
.bfkat-other>span{width:36px;height:36px;flex:none;border-radius:10px;background:#FFF1E4;color:var(--or);display:flex;align-items:center;justify-content:center}
.bfkat-other>svg{margin-left:auto;color:#8D9098}
.bfkat-other:hover{border-color:#FDC99A}
@media (max-width:1100px){.bfkat-others{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){
.bfkat-main{padding-top:12px}
.bfkat-hero{flex-direction:column;align-items:stretch;min-height:0;padding:20px 18px 0;border-radius:22px}
.bfkat-hero__in{gap:10px}
.bfkat-hero.has-img::after{display:none}
.bfkat-hero__img{position:relative;order:2;width:100%;height:170px;margin:6px 0 0}
.bfkat-hero:not(.has-img){padding-bottom:20px}
.bfkat-hero__ico{width:44px;height:44px;border-radius:13px}
.bfkat-hero__ico svg{width:22px;height:22px}
.bfkat .bfp-crumbs{font-size:12px}
.bfkat-facts li{height:30px;padding:0 10px;font-size:12px}
.bfkat-subs{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px 28px;padding:0 16px 4px;scrollbar-width:none}
.bfkat-subs::-webkit-scrollbar{display:none}
.bfkat-sub{height:38px;padding:0 14px;font-size:13px}
.bfkat-list .bfp-head{flex-direction:column;align-items:flex-start;gap:10px}
.bfkat-empty{flex-direction:column;align-items:flex-start}
.bfkat-others{grid-template-columns:repeat(2,minmax(0,1fr))}
.bfkat-other{padding:10px;font-size:13px}
.bfkat-other>span{width:32px;height:32px}
.bfkat-other{min-width:0}
.bfkat-other>svg{display:none}
}