/* Buyer widgets: one stable stage per section, shared brand and measured spacing. */
html{scroll-behavior:auto!important}
body[data-audience=buyer]{background:#f4f7f3;color:#173f38;--buyer-nav-height:90px}
body[data-audience=buyer] #main{padding:24px 0 30px}
.bw-section{padding:0!important;background:transparent!important;margin:0 0 24px;scroll-margin-top:calc(var(--buyer-nav-height) + 20px)}
.bw-section>.container,.bw-contact-row{width:calc(100% - 72px);max-width:1120px;margin-inline:auto;padding:0}
.bw-card{position:relative;isolation:isolate;overflow:clip;border-radius:26px;background:#073a3a;color:#effff7;box-shadow:0 15px 36px #183f3018;box-sizing:border-box;font:14px/1.5 'Segoe UI',Arial,sans-serif}
.bw-card *{box-sizing:border-box}.bw-card [hidden]{display:none!important}.bw-card button,.bw-card input,.bw-card select{font:inherit}
.bw-card h2{font-size:36px;line-height:1.08;letter-spacing:-1.2px;margin:0;color:#f5fff9;font-weight:750}.bw-card h2 span{color:#bcf4dd}
.bw-card h3{color:inherit}.bw-card p{margin:0}.bw-card button{cursor:pointer}.bw-card :is(button,a,input,select):focus-visible{outline:2px solid #8df4cc;outline-offset:3px}
.bw-card .bw-eyebrow{font-size:9px;font-weight:650;letter-spacing:.12em;color:#a8d3bf;line-height:14px;margin:0 0 10px}
.bw-action{display:flex;justify-content:space-between;align-items:center;gap:24px;height:44px;min-height:44px;padding:0 17px;width:230px;max-width:100%;border-radius:11px;border:1px solid #70dcb442;background:#008c78;color:#fff;text-decoration:none;font-size:13px;font-weight:650;cursor:pointer;white-space:nowrap}
.bw-action:hover{background:#00a38a;color:#fff}.bw-action span{font-size:18px}.bw-text-link{font-size:12px;color:#c0e5d2;text-decoration:none}.bw-text-link:hover{color:white;text-decoration:underline}
.bw-ribbon{position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,#063e3ff0,#063e3f50),url('/assets/generator-finansowania-v1/widget-assets/ribbon.webp') right center/cover no-repeat;opacity:.45;pointer-events:none}
.bw-tabs{display:flex;gap:8px;min-width:0}.bw-tabs button{flex:1;white-space:nowrap;border:1px solid #b6e4d638;border-radius:10px;background:#ffffff09;color:#c5e1d3;padding:9px 14px;font-size:12px;line-height:18px;min-height:38px;cursor:pointer}.bw-tabs button[aria-selected=true]{background:#bdf4dc;color:#093e32;border-color:#bdf4dc;font-weight:650}.bw-tabs button:hover:not([aria-selected=true]){background:#ffffff17}
.bw-arrow{border:1px solid #a7dbc945;border-radius:50%;color:#d9f9e8;background:transparent;width:36px;height:36px;flex:0 0 36px;font-size:17px;display:grid;place-items:center}.bw-arrow:hover{background:#b6f2d721}
.bw-embed{display:block;border:0;background:transparent;width:100%;height:320px;border-radius:26px;box-shadow:0 15px 36px #183f3018}
/* Bigger wordmark and readable section names, matching each widget. */
.global-nav{position:sticky;top:0;z-index:50;background:#f8faf7ed;backdrop-filter:blur(18px);border-bottom:1px solid #dce8e0}
.global-nav .nav-inner{max-width:1392px;min-height:90px;padding:16px 28px;gap:22px;display:flex;align-items:center;justify-content:space-between}
.global-nav .brand{flex:0 0 178px}.global-nav .brand img{display:block;width:178px;height:auto;max-height:none}
.global-nav #navigation{display:flex;gap:6px;flex-wrap:wrap;flex-direction:row;height:auto;max-height:none;justify-content:flex-end;align-items:center;position:static;background:none;padding:0;width:auto}
.global-nav #navigation a{font-size:13px;line-height:18px;font-weight:550;padding:11px 12px;letter-spacing:0;border-radius:24px;background:#e6f0e9;color:#20544a;white-space:nowrap;text-decoration:none}
.global-nav #navigation a[href='#film']{background:#daede8}.global-nav #navigation a[href='#bestseller-products']{background:#e3eedf}.global-nav #navigation a[href='#generator-finansowania']{background:#d8ece8}.global-nav #navigation a[href='#zgloszenie']{background:#007f6e;color:white}.global-nav #navigation a.partner-link{background:#e7e9f2;color:#43546b}.global-nav #navigation a:hover{filter:brightness(.96)}
.global-nav .menu-toggle{display:none}
#generator-finansowania{scroll-margin-top:calc(var(--buyer-nav-height) + 20px)!important;padding:0!important;margin-bottom:24px;background:transparent}
#generator-finansowania>.container{width:calc(100% - 72px);max-width:1120px;padding:0}
#bestseller-products,#zgloszenie,#kontakt{scroll-margin-top:calc(var(--buyer-nav-height) + 20px)}
/* Film retains the whole image, with only a narrow blend at the outer edges. */
#film>.container{max-width:900px}
.bw-film{height:330px;padding:22px 28px;background:linear-gradient(100deg,#073a3a,#093c42)}
.bw-film-copy{width:34%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px}.bw-film-copy .bw-eyebrow{margin:0}.bw-film-copy h1{font-size:38px;line-height:1.08;letter-spacing:-1.2px;margin:0;color:#f5fff9;font-weight:750}.bw-film-copy h1 span{color:#bcf4dd}.bw-film-copy>p:not(.bw-eyebrow){font-size:13px;color:#c2dfd4;line-height:21px}
.bw-film-media{position:absolute;top:12px;right:18px;width:min(59%,480px);aspect-ratio:16/9;mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent),linear-gradient(0deg,transparent,#000 3%,#000 97%,transparent);mask-composite:intersect}
.bw-film-media video{width:100%;height:100%;object-fit:contain;display:block;border:0;border-radius:0;box-shadow:none}
.bw-film-bar{position:absolute;bottom:12px;right:22px;left:43%;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:10px;color:#bbd9d0}
.bw-video-controls{display:flex;align-items:center;gap:7px}.bw-video-controls button,.bw-supplier-motion{height:30px;min-width:30px;padding:4px 10px;border:1px solid #b9e6d442;background:#143e4299;color:#effff6;border-radius:20px;font-size:11px;line-height:20px}.bw-video-controls button:first-child,.bw-video-controls button:last-child{padding:4px;font-size:17px}
video:fullscreen{object-fit:contain!important;background:#000!important}
/* The supplier array drives an unlimited horizontal tab strip, not new rows. */
.bw-suppliers{height:366px;padding:26px 30px;display:grid;grid-template-rows:62px minmax(0,1fr) 38px;gap:16px;background:#0b4140}
.bw-supplier-header{display:flex;gap:20px;justify-content:space-between;align-items:start}.bw-supplier-header h2{font-size:29px}.bw-supplier-header .bw-eyebrow{margin-bottom:8px}.bw-pagination{font-size:11px;color:#bad7c9;letter-spacing:.08em;padding-top:3px;white-space:nowrap}
.bw-supplier-stage{perspective:1000px;width:53%;min-width:0}.bw-supplier-panel{height:100%;display:grid;grid-template-rows:48px 23px 40px 42px;gap:9px;align-content:start}
.bw-supplier-logo{height:48px;width:177px;object-fit:contain;object-position:center;padding:7px 13px;border-radius:9px;background:white}
.bw-supplier-panel h3{font-size:20px;line-height:23px;letter-spacing:-.45px;margin:0;color:#d0f8e5}.bw-supplier-panel p{font-size:12px;line-height:19px;color:#c4e0d1}.bw-supplier-panel .bw-action{height:42px;min-height:42px}
.bw-supplier-scene{position:absolute;z-index:-1;right:-20px;top:8px;width:64%;height:350px;mask-image:linear-gradient(90deg,transparent,#000 32%,#000 89%,transparent),linear-gradient(0deg,transparent,#000 23%,#000 97%,transparent);mask-composite:intersect;opacity:.9}
.bw-supplier-scene video{width:100%;height:100%;object-fit:cover;border:0;background:none;box-shadow:none}.bw-supplier-motion{position:absolute;right:26px;bottom:80px;height:28px;min-width:28px;padding:2px 8px}
.bw-supplier-nav{display:flex;align-items:center;gap:10px;min-width:0;max-width:580px}.bw-supplier-nav .bw-tabs{flex:1;overflow-x:auto;scrollbar-width:none;overscroll-behavior:contain}.bw-supplier-nav .bw-tabs::-webkit-scrollbar{display:none}.bw-supplier-nav .bw-tabs button{min-width:120px;flex:1 0 auto}
.supplier-dialog{color:#173d34}.supplier-dialog .button{background:#008b78;color:#fff;border-radius:11px}










/* Contact and the accepted animated short form share one compact row. */
.bw-contact-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;gap:24px}
.bw-shortcut-host{min-width:0;scroll-margin-top:calc(var(--buyer-nav-height) + 20px)}.bw-shortcut-host iframe{display:block;border:0;width:100%;height:420px;border-radius:25px;box-shadow:0 15px 36px #183f3018}
.bw-contact{height:420px;padding:26px 30px;display:grid;grid-template-rows:108px 64px 94px 38px;gap:14px;background:linear-gradient(135deg,#0c4444,#0e4e47)}
.bw-contact h2{font-size:36px}.bw-contact header>p:last-child{font-size:12px;line-height:19px;color:#c4dfd1;margin-top:10px}.bw-advisor{display:flex;align-items:center;gap:14px;color:#c0ddcb;font-size:11px}.bw-advisor img{border-radius:50%;width:64px;height:64px;object-fit:cover;background:#e7efe8}.bw-advisor strong{display:block;font-size:14px;color:#e4f9ed;margin-bottom:4px}
.bw-contact-stage{perspective:1000px}.bw-contact-stage [role=tabpanel]{display:grid;grid-template-rows:36px 42px;align-content:center;gap:8px;height:100%}.bw-contact-value{font-size:clamp(23px,2.7vw,34px);font-weight:750;letter-spacing:-.8px;text-decoration:none;color:#bdf6dc;white-space:nowrap}.bw-contact-value:hover{color:white}.bw-contact-stage .bw-action{width:100%;height:42px;min-height:42px}.bw-contact .bw-tabs{max-width:none}
@media(max-width:1120px) and (min-width:901px){.global-nav #navigation a{font-size:11px;padding:10px}.global-nav .nav-inner{gap:15px;padding-inline:22px}.global-nav .brand{flex-basis:162px}.global-nav .brand img{width:162px}.bw-contact-stage{height:94px}.bw-contact-stage [role=tabpanel]{display:grid;gap:8px;align-content:start}.bw-contact-stage .bw-action{width:100%;height:38px;min-height:38px}.bw-contact-value{font-size:28px}}
@media(max-width:900px){
 .global-nav .nav-inner{min-height:78px;padding:13px 22px}.global-nav .brand{flex-basis:172px}.global-nav .brand img{width:172px}.global-nav .menu-toggle{display:flex;flex-direction:column;gap:6px;background:none;border:1px solid #b7d0c4;border-radius:50%;width:40px;height:40px;padding:12px 9px;align-items:center;justify-content:center}.global-nav .menu-toggle span{width:19px;height:1px;background:#28584c;display:block}
 .global-nav #navigation{display:none;position:absolute;left:18px;right:18px;top:calc(100% + 5px);width:auto;padding:14px;background:#f8faf7;box-shadow:0 12px 30px #10382d22;border-radius:18px;gap:8px;justify-content:start;flex-direction:column;flex-wrap:nowrap;max-height:calc(100dvh - 110px);overflow-y:auto}.global-nav #navigation.is-open{display:flex}.global-nav #navigation a{font-size:13px;padding:12px 15px}
 .bw-contact-row{grid-template-columns:1fr 1fr;gap:18px}.bw-contact{padding:24px;grid-template-rows:108px 64px 100px 38px;gap:12px}.bw-contact-stage [role=tabpanel]{display:grid;gap:8px;align-content:start}.bw-contact-stage .bw-action{width:100%;height:38px;min-height:38px}.bw-contact-value{font-size:28px}.bw-contact h2{font-size:30px}
 .bw-supplier-panel h3{font-size:18px}.bw-supplier-panel p{font-size:11px}.bw-supplier-stage{width:57%}.bw-film-copy h1{font-size:34px}.bw-film-bar{left:45%;font-size:9px}
}
@media(max-width:720px){
 body[data-audience=buyer] #main{padding-top:16px}.bw-section{margin-bottom:18px}.bw-section>.container,.bw-contact-row,#generator-finansowania>.container{width:calc(100% - 28px)}
 #generator-finansowania{margin-bottom:18px}.bw-card{border-radius:23px}.bw-embed{height:410px;border-radius:23px}
 .bw-film{--movie:min(calc((100vw - 48px)*.5625),270px);height:calc(var(--movie) + 228px);padding:20px;display:flex;align-items:end}
 .bw-film-copy{width:100%;height:177px;gap:9px;justify-content:start}.bw-film-copy h1{font-size:28px;line-height:1.05}.bw-film-copy h1 br{display:none}.bw-film-copy h1 span:before{content:' '}.bw-film-copy .bw-eyebrow{font-size:8px;line-height:12px}.bw-film-copy>p:not(.bw-eyebrow){font-size:12px;line-height:19px}.bw-film-copy>p br{display:none}.bw-film-copy .bw-action{height:42px;min-height:42px;width:100%;margin-top:3px}
 .bw-film-media{width:min(calc(100% - 20px),480px);top:10px;right:auto;left:50%;transform:translateX(-50%)}.bw-film-bar{top:calc(var(--movie) - 10px);bottom:auto;left:20px;right:20px;height:30px}.bw-film-bar>span{font-size:8px}.bw-video-controls{gap:5px}.bw-video-controls button{height:27px;min-width:27px;font-size:9px;padding:3px 7px}
 .bw-suppliers{height:421px;padding:20px;grid-template-rows:80px minmax(0,1fr) 38px;gap:14px}.bw-supplier-header h2{font-size:24px;max-width:260px}.bw-supplier-header .bw-eyebrow{font-size:8px;margin-bottom:7px}.bw-pagination{font-size:9px}
 .bw-supplier-stage{width:100%;padding-top:105px}.bw-supplier-panel{grid-template-rows:0 24px 40px 42px;gap:9px}.bw-supplier-logo{position:absolute;top:18px;left:0;width:148px;height:45px;z-index:2}.bw-supplier-panel h3{font-size:19px;line-height:24px;white-space:nowrap;letter-spacing:-.55px}.bw-supplier-panel p{font-size:11px;line-height:19px}.bw-supplier-panel .bw-action{width:100%;margin-top:4px}.bw-supplier-scene{top:72px;right:-45px;width:90%;height:180px;mask-image:linear-gradient(90deg,transparent,#000 25%,#000 84%,transparent),linear-gradient(0deg,transparent,#000 26%,#000 90%,transparent);opacity:.8}.bw-supplier-motion{right:20px;bottom:auto;top:205px}
 .bw-supplier-nav{gap:7px}.bw-supplier-nav .bw-tabs{gap:6px}.bw-supplier-nav .bw-tabs button{min-width:88px;font-size:11px;padding:9px 12px}.bw-arrow{width:28px;height:28px;flex-basis:28px;font-size:15px}
 
 
 
 .bw-contact-row{grid-template-columns:1fr;gap:18px}.bw-shortcut-host{max-width:440px;width:100%;margin:auto}.bw-contact{height:390px;padding:24px;grid-template-rows:97px 60px 92px 38px;gap:10px}.bw-contact h2{font-size:33px}.bw-contact header>p:last-child{font-size:12px;line-height:18px;margin-top:8px}.bw-advisor img{width:58px;height:58px}.bw-contact-stage [role=tabpanel]{display:flex;flex-wrap:wrap;gap:8px;align-content:center}.bw-contact-value{font-size:29px;flex-basis:100%}.bw-contact-stage .bw-action{width:100%;flex-basis:100%;height:38px;min-height:38px}.bw-contact .bw-tabs{max-width:none}
}
@media(max-width:370px){.bw-supplier-panel h3{font-size:17px}.bw-supplier-panel p{font-size:10px}.bw-film-copy h1{font-size:25px}.bw-card{padding-inline:18px}}
.global-nav .menu-toggle span{flex:0 0 2px;min-height:2px;margin:0}
@media(max-width:720px){
 .bw-film{height:calc(var(--movie) + 196px)}
 .bw-film-copy{height:145px}
 
 .bw-supplier-stage{padding-top:56px}
 .bw-supplier-logo{top:0}
 .bw-supplier-panel{grid-template-rows:48px 57px 42px;gap:9px}
 .bw-supplier-panel h3{white-space:normal}
 .bw-supplier-scene{top:84px;height:120px;mask-image:linear-gradient(90deg,transparent,#000 25%,#000 84%,transparent),linear-gradient(0deg,transparent,#000 45%,#000 95%,transparent)}
 .bw-supplier-scene video{object-fit:contain}
 .bw-supplier-motion{top:132px}
}
@media(max-width:370px){.bw-film{height:calc(var(--movie) + 219px)}.bw-film-copy{height:168px}}
/* Opening pair: matching edges, the film uses an actual grid instead of floating columns. */
.bw-top-row{display:grid;grid-template-columns:340px minmax(0,1fr);gap:24px;width:calc(100% - 72px);max-width:1120px;margin:0 auto 24px;align-items:start}
.bw-top-row .bw-shortcut-host{width:100%;max-width:none;margin:0}
.bw-top-row .bw-shortcut-host iframe{height:344px}
.bw-film-host{min-width:0;scroll-margin-top:calc(var(--buyer-nav-height) + 20px)}
.bw-top-row .bw-film{height:344px;padding:22px;display:grid;grid-template-columns:196px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 30px;gap:12px 20px;align-items:stretch}
.bw-top-row .bw-film-copy{grid-column:1;grid-row:1 / 3;width:auto;height:auto;justify-content:center;gap:16px}
.bw-top-row .bw-film-copy h1{font-size:36px;line-height:1.08}
.bw-top-row .bw-film-copy .bw-action{width:100%;padding-inline:13px;font-size:12px;gap:8px;margin:0}
.bw-top-row .bw-film-media{grid-column:2;grid-row:1;position:relative;inset:auto;width:100%;height:100%;aspect-ratio:auto;transform:none}
.bw-top-row .bw-film-bar{grid-column:2;grid-row:2;position:static;inset:auto;width:100%;height:30px;gap:8px;font-size:9px}
.bw-contact-wrap{width:calc(100% - 72px);max-width:1120px;padding:0;margin-inline:auto}
@media(max-width:1040px) and (min-width:981px){.bw-top-row{grid-template-columns:300px minmax(0,1fr);gap:20px}.bw-top-row .bw-film{grid-template-columns:172px minmax(0,1fr);gap:12px;padding:20px}.bw-top-row .bw-film-copy h1{font-size:32px}.bw-top-row .bw-film-bar>span{max-width:84px;line-height:13px}.bw-top-row .bw-film-copy .bw-action{padding-inline:10px;font-size:11px}}
@media(max-width:980px){.bw-top-row{grid-template-columns:1fr;max-width:680px}.bw-top-row .bw-shortcut-host{max-width:440px;margin-inline:auto}}
@media(max-width:720px){
 .bw-top-row{width:calc(100% - 28px);gap:18px;margin-bottom:18px}
 .bw-top-row .bw-film{height:auto;padding:18px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 28px auto;gap:10px}
 .bw-top-row .bw-film-media{grid-column:1;grid-row:1;height:auto;aspect-ratio:16/9}
 .bw-top-row .bw-film-bar{grid-column:1;grid-row:2;height:28px}
 .bw-top-row .bw-film-copy{grid-column:1;grid-row:3;gap:8px;justify-content:start}
 .bw-top-row .bw-film-copy h1{font-size:28px;line-height:1.05}
 .bw-top-row .bw-film-copy>p:not(.bw-eyebrow){line-height:19px}
 .bw-contact-wrap{width:calc(100% - 28px)}
}
@media(max-width:370px){.bw-top-row .bw-film-copy h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){.bw-card *{animation:none!important;transition:none!important}html{scroll-behavior:auto!important}}


.supplier-dialog{max-height:calc(100dvh - 32px);border-radius:24px;border-color:#3a7770;scrollbar-width:thin}
.supplier-dialog-header{position:sticky;top:0;background:#f3f8f5;z-index:3;padding:16px 20px}
.supplier-products-grid{gap:18px;padding:18px}
.bestseller-product .bestseller-product-image{height:190px;min-height:0;padding:12px}
.bestseller-product .bestseller-product-image img{height:100%;width:100%;object-fit:contain}
.bestseller-product .bestseller-product-copy{padding:18px}
.bestseller-product h4{font-size:20px;line-height:1.2;margin:8px 0}
.bestseller-product .product-description{font-size:12px;line-height:1.6;margin:8px 0}
.bestseller-product .product-price{font-size:25px;margin:10px 0 0}
.bestseller-product .product-price-tax{font-size:10px;margin:2px 0}
.bestseller-product .product-installment{font-size:14px;margin:8px 0 12px}
.bestseller-product .product-select{width:100%;min-height:44px;font-size:13px;margin:0}
.bestseller-product .product-financing-link{font-size:11px;margin:10px 0}
.product-details{border-top:1px solid #d1e1d9;padding-top:10px;margin-top:6px;font-size:12px}
.product-details summary{cursor:pointer;color:#136758}
.product-details .product-specs{margin:12px 0;font-size:11px}
.bestseller-product .product-note{font-size:10px;margin:12px 0 0}
@media(min-width:761px){.bw-contact-wrap .bw-contact{height:238px;grid-template-columns:1fr .8fr 1fr;grid-template-rows:1fr 38px;column-gap:30px;row-gap:18px;align-items:center}.bw-contact-wrap .bw-contact>header{grid-column:1;grid-row:1/3}.bw-contact-wrap .bw-advisor{grid-column:2;grid-row:1/3;flex-direction:column;text-align:center;gap:12px}.bw-contact-wrap .bw-contact-stage{grid-column:3;grid-row:1;height:94px;width:100%}.bw-contact-wrap .bw-tabs{grid-column:3;grid-row:2}.bw-contact-wrap .bw-contact h2{font-size:32px}.bw-contact-wrap .bw-contact-value{font-size:28px}}
@media(max-width:760px){.supplier-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:0}.supplier-products-grid{grid-template-columns:1fr;gap:14px;padding:12px}.bestseller-product .bestseller-product-image{height:120px}.bestseller-product .bestseller-product-copy{padding:14px}.bestseller-product h4{font-size:18px}.bestseller-product .product-description{font-size:11px}.bestseller-product .product-price{font-size:22px}.supplier-dialog-header h3{font-size:19px}}

