/* przyciski konta */
.bf-hdr{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-family:inherit}
.bf-hdr a{text-decoration:none!important;box-shadow:none}
.bf-hdr__btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid transparent;border-radius:10px;font-size:15px;font-weight:500;line-height:1;letter-spacing:0;white-space:nowrap;transition:background-color .15s,border-color .15s,color .15s}
.bf-hdr__btn--outline{background:transparent;color:#1C1D21!important}
.bf-hdr__btn--outline:hover{background:#F4F5F7}
.bf-hdr__btn--fill{background:#F7821B;color:#fff!important;font-weight:600;padding:0 18px}
.bf-hdr__btn--fill:hover{background:#E57312}
.bf-hdr__account{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:4px 14px 4px 4px;border:1px solid #E6E7EA;border-radius:999px;background:#fff;color:#1C1D21!important;font-size:15px;font-weight:500;line-height:1;white-space:nowrap;transition:border-color .15s}
.bf-hdr__account:hover{border-color:#F7B57A}
.bf-hdr__avatar{width:32px;height:32px;flex:none;border-radius:50%;background:#FFF1E4;color:#B4530B;display:grid;place-items:center;font-weight:600;font-size:14px}
.bf-hdr a:focus-visible,.bf-mnav a:focus-visible,.bf-mnav button:focus-visible{outline:2px solid #D8620B;outline-offset:2px}
/* menu mobilne – ukryte na większych ekranach */
.bf-mnav{display:none}
.bf-mnav__toggle{width:44px!important;height:44px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;background:#F4F5F7!important;color:#1C1D21!important;display:flex!important;align-items:center;justify-content:center;box-shadow:none!important;cursor:pointer}
.bf-mnav__i-close{display:none}
.bf-menu-open .bf-mnav__i-open{display:none}
.bf-menu-open .bf-mnav__i-close{display:block}
.bf-mnav__panel{position:fixed;left:0;right:0;bottom:0;top:var(--bf-hdr-bottom,64px);z-index:998;display:flex;flex-direction:column;padding:8px 20px calc(24px + env(safe-area-inset-bottom));background:#fff;overflow-y:auto;box-sizing:border-box}
.bf-mnav__panel[hidden]{display:none}
.bf-mnav__list{list-style:none;margin:0;padding:0}
.bf-mnav__list li{margin:0;padding:0;border-bottom:1px solid #ECEDF0}
.bf-mnav__list li::before{content:none}
.bf-mnav__list a{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:56px;font-size:18px;font-weight:600;color:#1C1D21!important;text-decoration:none!important}
.bf-mnav__list a::after{margin-left:auto;flex:none;content:"";width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A9DA4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/20px no-repeat}
.bf-mnav__list a .bfm-ai,.bf-mnav__list a .bfm-app{margin-right:0}
.bf-mnav__list .current-menu-item>a{color:#B4530B!important}
.bf-mnav__warn{font-size:14px;color:#9B1C1C;background:#FDECEC;padding:12px;border-radius:10px}
.bf-hdr__cart{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 12px;border-radius:10px;background:#FFF3E6;color:#1C1D21!important;font-size:15px;font-weight:600;text-decoration:none!important;white-space:nowrap}
.bf-hdr__cart svg{color:#F7821B}
.bf-hdr__cart b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#F7821B;color:#fff;font-size:12px}
@media (max-width:1920px){.bf-hdr__cart span{display:none}} /* sama ikona z liczbą – napis „Koszyk” nachodził na „Asystent AI” */
.bf-hdr__app{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 12px;border-radius:10px;color:#1C1D21!important;font-size:15px;font-weight:500;text-decoration:none!important;white-space:nowrap}
.bf-hdr__app svg{color:#F7821B;flex:none}
.bf-hdr__app:hover{background:#F4F5F7}
.bf-mnav__app{display:flex;align-items:center;gap:12px;margin-top:16px;padding:12px 14px;border-radius:14px;background:#FFF3E6;color:#1C1D21!important;text-decoration:none!important}
.bf-mnav__appi{flex:none;width:40px;height:40px;border-radius:12px;background:#F7821B;color:#fff;display:grid;place-items:center}
.bf-mnav__app b{display:block;font-size:15px}.bf-mnav__app small{display:block;font-size:12.5px;color:#6B6E75}
.bf-mnav__actions{margin-top:auto;padding-top:24px;display:flex;flex-direction:column;gap:10px}
.bf-mnav__btn{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:12px;font-size:16px;text-decoration:none!important}
.bf-mnav__btn--fill{background:#D8620B;color:#fff!important;font-weight:600}
.bf-mnav__btn--soft{background:#F4F5F7;color:#1C1D21!important;font-weight:500}
body.bf-menu-open{overflow:hidden}
@media (max-width:767px){
/* przycisk menu zawsze widoczny: przyklejony w prawym górnym rogu,
a gdy skrypt wstawi go do nagłówka – normalnie w nagłówku */
.bf-mnav{display:block!important;position:fixed!important;top:var(--bf-mnav-top,12px);right:12px;z-index:1001;margin:0!important;transition:transform .3s ease;visibility:visible!important;opacity:1!important}
.bf-hdr-is-hidden:not(.bf-menu-open) .bf-mnav{transform:translateY(calc(-100% - 80px))}
.bf-site-header .bf-hdr{margin-right:52px}
.bf-hdr__app{display:none}
.bf-hdr{gap:4px}
.bf-hdr__btn--fill{display:none}
.bf-hdr__btn{min-height:44px;padding:0 12px;font-size:14px}
.bf-hdr__account{padding:3px;border-radius:50%}
.bf-hdr__label{display:none}
}
/* telefon: porządek w nagłówku z Elementora (bez klikania w edytorze) */
@media (max-width:767px){
/* stare menu Elementora / Crocoblock i jego przycisk – zastępuje je [bf_menu_mobile] */
.bf-site-header .elementor-widget-nav-menu,
.bf-site-header .elementor-menu-toggle,
.bf-site-header .elementor-nav-menu--dropdown,
.bf-site-header .elementor-widget-jet-nav-menu,
.bf-site-header .elementor-widget-jet-mega-menu,
.bf-site-header .jet-mobile-menu,
.bf-site-header .jet-nav-wrap{display:none!important}
/* jeden rząd: logo po lewej, konto i menu po prawej */
.bf-site-header.e-con,.bf-site-header .e-con,.bf-site-header .e-con-inner,.bf-site-header .elementor-container,.bf-site-header .elementor-row{flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
.bf-site-header.e-con,.bf-site-header>.elementor-container{padding:10px 16px!important}
.bf-site-header .elementor-column,.bf-site-header .e-con>.e-con,.bf-site-header .e-con-inner>.e-con{width:auto!important;flex:0 1 auto!important;min-width:0!important;padding:0!important}
.bf-site-header .elementor-widget{margin-bottom:0!important;width:auto!important}
.bf-site-header .elementor-widget-wrap{flex-wrap:nowrap!important;align-items:center!important;gap:4px;padding:0!important}
/* logo */
.bf-site-header .elementor-widget-image img,.bf-site-header .elementor-widget-theme-site-logo img,.bf-site-header .custom-logo{width:150px!important;max-width:150px!important;height:auto!important}
/* shortcody konta i menu obok siebie */
.bf-site-header .elementor-widget-shortcode{flex:0 0 auto!important}
html,body{overflow-x:hidden}
}
/* nagłówek przyklejony + chowanie */
body.elementor-page #content,body.elementor-page .site-content,body.elementor-page .site-content__wrap,body.elementor-page .site-main,body.elementor-page #primary,body.elementor-page .content-area,body.elementor-page article.page,body.elementor-page .entry-content,body.elementor-page .page-content{margin-top:0!important;padding-top:0!important}
body.elementor-page [data-elementor-type="wp-page"]{margin-top:0!important;padding-top:0!important}
body.elementor-page [data-elementor-type="wp-page"]>.e-con:first-child,body.elementor-page [data-elementor-type="wp-page"]>.elementor-section:first-child,body.elementor-page [data-elementor-type="wp-page"]>.elementor-section-wrap>.elementor-section:first-child{margin-top:0!important}
body.elementor-page .elementor-location-header+*{margin-top:0!important}
.bf-site-header,.bf-site-header>.e-con-inner,.bf-site-header>.elementor-container{min-height:0!important}
.bf-site-header{padding-top:10px!important;padding-bottom:10px!important;margin-bottom:0!important}
.bf-site-header .e-con,.bf-site-header .elementor-column-wrap,.bf-site-header .elementor-widget-wrap{min-height:0!important;padding-top:0!important;padding-bottom:0!important}
.bf-site-header .elementor-widget-spacer,.bf-site-header .elementor-widget-divider{display:none!important}
.bf-site-header .elementor-widget:not(:last-child){margin-bottom:0!important}
.bf-site-header.bf-hdr-fixed{position:fixed!important;left:0;right:0;top:var(--bf-hdr-top,0px);z-index:999;background:#fff;transition:transform .3s ease,box-shadow .3s ease;will-change:transform}
.bf-site-header.bf-hdr-scrolled{box-shadow:0 4px 18px rgba(20,20,30,.08)}
.bf-site-header.bf-hdr-hidden{transform:translateY(calc(-100% - var(--bf-hdr-top,0px)));box-shadow:none}
@media (prefers-reduced-motion:reduce){.bf-site-header.bf-hdr-fixed{transition:none}}
@media (min-width:1025px) and (max-width:1320px){.bf-hdr__app span{display:none}.bf-hdr__app{padding:0 10px}}
/* Pasek „Zainstaluj aplikację” (2.22) – tylko telefon */
.bf-appban{position:fixed;left:0;right:0;top:0;z-index:1000;display:flex;align-items:center;gap:8px;height:56px;padding:0 10px 0 12px;box-sizing:border-box;background:#16181D;color:#fff;font-family:inherit;animation:bfAppBan .35s ease-out;transition:transform .3s ease}
@keyframes bfAppBan{from{opacity:0}to{opacity:1}}
.bf-hdr-is-hidden:not(.bf-menu-open) .bf-appban{transform:translateY(calc(-100% - var(--bf-hdr-top,0px)))}
.bf-appban__t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bf-appban__i{flex:none;width:36px;height:36px;border-radius:10px;background:#FE7C01;color:#fff;display:grid;place-items:center}
.bf-appban__t{flex:1;min-width:0;line-height:1.25}.bf-appban__t b{display:block;font-size:14px;font-weight:600;color:#fff}.bf-appban__t small{display:block;font-size:12px;color:#B9BCC4}
html body .bf-appban__go{flex:none;display:inline-flex;align-items:center;height:36px;padding:0 12px;border-radius:10px;background:#FE7C01;color:#fff!important;font-size:14px;font-weight:600;text-decoration:none!important}
html body .bf-appban__x{flex:none;width:32px;height:36px;padding:0!important;margin:0 -6px 0 -2px!important;border:0!important;background:transparent!important;color:#8D9098!important;font-size:22px;line-height:1;min-height:0!important;box-shadow:none!important}
@media (prefers-reduced-motion:reduce){.bf-appban{animation:none}}
/* Lupa, „Plany” (2.19) */
.bf-hdr__s{position:relative;flex:none;width:42px}
html body .bf-hdr .bf-hdr__sb{display:inline-grid!important;place-items:center;width:42px!important;height:42px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#1C1D21!important;box-shadow:none!important;cursor:pointer}
html body .bf-hdr .bf-hdr__sb:hover,html body .bf-hdr .bf-hdr__sb[aria-expanded="true"]{background:#F4F5F7!important}
html body .bf-hdr__sf button{background:#FE7C01!important;color:#fff!important;border:0!important;padding:0 16px!important;min-height:0!important}
.bf-hdr__sf{position:absolute;right:0;top:calc(100% + 10px);z-index:1000;display:flex;gap:6px;width:min(420px,calc(100vw - 32px));padding:8px;border:1px solid #E6E7EA;border-radius:14px;background:#fff;box-shadow:0 12px 30px rgba(20,20,30,.12)}
.bf-hdr__sf[hidden]{display:none}
.bf-hdr__sf input{flex:1;min-width:0;height:42px;padding:0 12px;border:1px solid #E6E7EA;border-radius:10px;font:inherit;font-size:15px}
.bf-hdr__sf button{height:42px;padding:0 16px;border:0;border-radius:10px;background:#FE7C01;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.bf-hdr__plans{display:inline-flex;align-items:center;min-height:42px;padding:0 10px;color:#6B6F78!important;font-size:14px;font-weight:500;white-space:nowrap}
.bf-hdr__plans:hover{color:#1C1D21!important}
.bf-hdr__app svg{color:#6B6F78}
.bf-mnav__s{margin:4px 0 8px}
.bf-mnav__s input{width:100%;height:46px;padding:0 14px;border:1px solid #E6E7EA;border-radius:12px;background:#FAFAFB;font:inherit;font-size:15px;box-sizing:border-box}
.bf-mnav__plans{display:block;margin-top:14px;text-align:center;font-size:13px;color:#6B6F78!important;text-decoration:none!important}
.bf-hdr.is-c1 .bf-hdr__app span{display:none}.bf-hdr.is-c1 .bf-hdr__app{padding:0 8px}
.bf-hdr.is-c2 .bf-hdr__label{display:none}.bf-hdr.is-c2 .bf-hdr__account{padding:3px;border-radius:50%}
.bf-hdr.is-c3 .bf-hdr__plans{display:none}
.bf-hdr.is-c4{gap:6px!important}html body .bf-hdr.is-c4 .bf-hdr__btn{padding:0 10px!important;font-size:14px!important}
.bf-hdr.is-c5 .bf-hdr__s{display:none}
@media (max-width:767px){.bf-hdr__plans{display:none}.bf-hdr__sf{position:fixed;left:16px;right:16px;top:var(--bf-hdr-bottom,64px);width:auto}}
/* „Aplikacja” jest już w menu – nie dublujemy przycisku w nagłówku */
body:has(.elementor-nav-menu a[href*="/aplikacja"]) .bf-hdr__app{display:none}
@media (min-width:1025px) and (max-width:1440px){.bf-hdr__app span{display:none}.bf-hdr__app{padding:0 10px}}