/* 4BAKE CMS 8 / PL ONLY — FINAL V5. Scoped 100% to .b4dp */
.b4dp{--gold:#c88400;--gold2:#df9c12;--ink:#171717;--line:#eadfce;--soft:#fbf7f1;--dark:#1e1e1d;color:var(--ink);font-family:inherit;max-width:1260px;margin:0 auto;padding:0 18px 28px;box-sizing:border-box}
.b4dp *{box-sizing:border-box}.b4dp a{text-decoration:none}.b4dp svg{display:block}
.b4dp__hero{position:relative;min-height:412px;border-radius:3px;overflow:hidden;background:#fff;display:grid;grid-template-columns:40% 60%;margin-bottom:18px}
.b4dp__hero-copy{position:relative;z-index:2;padding:46px 18px 42px 48px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.b4dp__hero-copy h1{font-size:55px;line-height:1.03;margin:0 0 22px;font-weight:700;letter-spacing:-1.5px}
.b4dp__hero-copy p{font-size:20px;line-height:1.45;margin:0 0 28px}
.b4dp__hero-image{position:absolute;inset:0 0 0 38%;background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.94) 8%,rgba(255,255,255,.42) 24%,rgba(255,255,255,.08) 34%,rgba(255,255,255,0) 44%),url('/img/cms/4bake-dostawa-v5/hero-dostawa-v5.webp');background-size:cover;background-position:center center;background-repeat:no-repeat}
.b4dp__button{display:inline-flex;align-items:center;gap:14px;background:linear-gradient(135deg,#bd7800,#df9a00);color:#fff;font-size:14px;font-weight:700;padding:15px 24px;border-radius:4px;white-space:nowrap;box-shadow:0 2px 5px rgba(125,77,0,.12)}
.b4dp__button--small{padding:13px 19px;font-size:13px}
.b4dp__section{padding:0 54px 12px}.b4dp__section>h2{font-size:30px;line-height:1.2;text-align:center;margin:12px 0 23px}
.b4dp__delivery-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.b4dp__delivery-card{min-height:190px;border:1px solid var(--line);border-radius:5px;background:#fff;display:grid;grid-template-columns:165px 1fr;align-items:center;padding:26px 30px;box-shadow:0 2px 10px rgba(40,31,15,.025)}
.b4dp__icon{width:93px;height:93px;border-right:1px solid #eadfce;padding-right:34px;color:var(--gold);display:flex;align-items:center}
.b4dp__icon svg,.b4dp__payment-symbol svg,.b4dp__b2b-icon svg,.b4dp__benefit svg,.b4dp__headset svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.b4dp__delivery-copy h3{font-size:19px;margin:0 0 12px}.b4dp__delivery-copy p{font-size:14px;line-height:1.55;margin:0 0 17px;max-width:320px}
.b4dp__time{display:grid;grid-template-columns:24px auto;column-gap:9px;align-items:center}.b4dp__time svg{grid-row:1/3;width:22px;height:22px;color:var(--gold);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.b4dp__time strong{font-size:18px;line-height:1.2}.b4dp__time span{font-size:13px;color:#333}
.b4dp__benefits{display:grid;grid-template-columns:repeat(4,1fr);background:linear-gradient(100deg,#fbf7f1,#fffaf4);border-radius:5px;margin-top:18px;padding:16px 0}
.b4dp__benefit{text-align:center;padding:2px 20px;border-right:1px solid #e3d6c3;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center}.b4dp__benefit:last-child{border-right:none}.b4dp__benefit svg{width:36px;height:36px;color:var(--gold);margin-bottom:7px}.b4dp__benefit strong{font-size:15px;line-height:1.35}.b4dp__benefit span{font-size:12px;line-height:1.4;color:#393939;margin-top:3px}
.b4dp__section--payments{padding-top:4px}.b4dp__payment-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.b4dp__payment-card{border:1px solid var(--line);border-radius:5px;background:#fff;min-height:226px;padding:18px 14px 16px;text-align:center;display:flex;flex-direction:column;align-items:center}
.b4dp__payment-logo{height:72px;display:flex;align-items:center;justify-content:center;margin-bottom:11px;width:100%;overflow:hidden}.b4dp__payment-logo img{display:block;width:auto;height:auto;object-fit:contain;max-width:175px;max-height:60px}.b4dp__payment-logo--paynow img{max-width:150px;max-height:54px}.b4dp__payment-logo--blik img{max-width:110px;max-height:58px}.b4dp__payment-logo--cards img{max-width:165px;max-height:58px}
.b4dp__payment-card h3{font-size:15px;line-height:1.35;margin:0 0 11px}.b4dp__payment-card p{font-size:12px;line-height:1.55;margin:0;color:#252525;max-width:155px}
.b4dp__payment-symbol{height:68px;width:68px;color:#111;margin-bottom:11px}.b4dp__b2b{margin:6px 54px 16px;background:linear-gradient(100deg,#fbf7f1,#fffaf4);min-height:92px;border-radius:5px;padding:15px 22px;display:grid;grid-template-columns:72px 1fr auto;gap:16px;align-items:center}
.b4dp__b2b-icon{width:50px;height:50px;color:var(--gold)}.b4dp__b2b-copy h2{font-size:17px;margin:0 0 5px}.b4dp__b2b-copy p{font-size:13px;line-height:1.45;margin:0}
.b4dp__contact{background:linear-gradient(90deg,#1a1a1a,#242424);border-radius:5px;min-height:93px;color:#fff;padding:18px 35px;display:grid;grid-template-columns:1.25fr 1fr .9fr auto;gap:20px;align-items:center}.b4dp__contact-intro{display:flex;gap:14px;align-items:center}.b4dp__headset{width:47px;height:47px;color:#d89a16;padding:3px}.b4dp__contact-intro>div:last-child{display:flex;flex-direction:column}.b4dp__contact-intro strong{font-size:17px}.b4dp__contact-intro span{font-size:12px;margin-top:4px;color:#ececec}.b4dp__contact-link{color:#e8a315;font-size:14px;font-weight:700;display:flex;gap:10px;align-items:center}.b4dp__desktop-only{display:inline}
@media (max-width:980px){.b4dp__hero{grid-template-columns:1fr;min-height:392px}.b4dp__hero-image{inset:0 0 0 34%;opacity:.96}.b4dp__hero-copy{padding-left:36px}.b4dp__section{padding-left:20px;padding-right:20px}.b4dp__delivery-card{grid-template-columns:115px 1fr;padding:22px 18px}.b4dp__payment-grid{grid-template-columns:repeat(3,1fr)}.b4dp__b2b{margin-left:20px;margin-right:20px}.b4dp__contact{grid-template-columns:1fr 1fr}.b4dp__contact .b4dp__button{justify-self:start}}
@media (max-width:680px){.b4dp{padding:0 0 20px}.b4dp__hero{min-height:538px;border-radius:0;display:block}.b4dp__hero-image{inset:228px 0 0 0;background-image:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.12) 26%,rgba(255,255,255,.02) 40%),url('/img/cms/4bake-dostawa-v5/hero-dostawa-v5.webp');background-position:center center;background-size:cover}.b4dp__hero-copy{padding:28px 22px 0;justify-content:flex-start}.b4dp__hero-copy h1{font-size:41px;margin-bottom:14px}.b4dp__hero-copy p{font-size:16px;margin-bottom:18px}.b4dp__desktop-only{display:none}.b4dp__button{font-size:12px;padding:13px 17px}.b4dp__section{padding:0 14px 9px}.b4dp__section>h2{font-size:26px;margin:17px 0}.b4dp__delivery-grid{grid-template-columns:1fr;gap:12px}.b4dp__delivery-card{min-height:164px;grid-template-columns:90px 1fr;padding:18px 16px}.b4dp__icon{width:70px;height:78px;padding-right:18px}.b4dp__delivery-copy h3{font-size:16px}.b4dp__delivery-copy p{font-size:12px;margin-bottom:10px}.b4dp__benefits{grid-template-columns:1fr 1fr;padding:4px 0}.b4dp__benefit{min-height:118px;border-right:1px solid #e3d6c3;border-bottom:1px solid #e3d6c3;padding:10px}.b4dp__benefit:nth-child(2n){border-right:none}.b4dp__benefit:nth-child(n+3){border-bottom:none}.b4dp__benefit strong{font-size:13px}.b4dp__benefit span{font-size:11px}.b4dp__payment-grid{grid-template-columns:1fr 1fr;gap:10px}.b4dp__payment-card{min-height:194px;padding:15px 10px}.b4dp__payment-card:last-child{grid-column:auto;min-height:194px}.b4dp__payment-card p{font-size:11px}.b4dp__payment-symbol{height:60px;width:60px}.b4dp__b2b{margin:5px 14px 14px;grid-template-columns:52px 1fr;padding:14px}.b4dp__b2b .b4dp__button{grid-column:1/-1;justify-self:stretch;justify-content:center}.b4dp__b2b-copy h2{font-size:16px}.b4dp__b2b-copy p{font-size:12px}.b4dp__contact{margin:0 14px;grid-template-columns:1fr;padding:18px 20px;gap:13px}.b4dp__contact-link{font-size:13px}.b4dp__contact .b4dp__button{width:100%;justify-content:center}}

/* V7 carrier logo hotfix: DPD + DHL official brand assets. */
.b4dp .b4dp__icon--carrier{width:136px;padding-right:22px;justify-content:center}
.b4dp .b4dp__icon--carrier img{display:block;width:100%;max-width:108px;max-height:70px;height:auto;object-fit:contain}
@media (max-width:680px){
  .b4dp .b4dp__icon--carrier{width:82px;height:78px;padding-right:12px}
  .b4dp .b4dp__icon--carrier img{max-width:66px;max-height:48px}
}

/* V8 two-box delivery layout: InPost Paczkomaty® + Dostawa kurierem. */
.b4dp .b4dp__dbox{border:1px solid var(--line);border-radius:5px;background:#fff;padding:24px 28px 26px;box-shadow:0 2px 10px rgba(40,31,15,.025);display:flex;flex-direction:column}
.b4dp .b4dp__dbox-title{font-size:19px;line-height:1.25;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.b4dp .b4dp__dbox-body{display:flex;flex-direction:column;gap:18px;flex:1}
.b4dp .b4dp__dbox-body--single{justify-content:center;gap:0}
.b4dp .b4dp__dmethod{display:grid;grid-template-columns:96px 1fr;gap:26px;align-items:center}
.b4dp .b4dp__dmethod+.b4dp__dmethod{border-top:1px solid var(--line);padding-top:18px}
.b4dp .b4dp__dm-logo{width:96px;height:56px;display:flex;align-items:center;justify-content:center}
.b4dp .b4dp__dm-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.b4dp .b4dp__dm-logo--inpost img{max-height:56px}
.b4dp .b4dp__dm-logo--dpd img{max-height:38px}
.b4dp .b4dp__dm-logo--dhl img{max-height:26px}
.b4dp .b4dp__dm-copy h4{font-size:17px;line-height:1.25;margin:0 0 8px;font-weight:700}
.b4dp .b4dp__dm-copy p{font-size:14px;line-height:1.55;margin:0;max-width:330px}
.b4dp .b4dp__dm-copy .b4dp__time{margin-top:13px}
@media (max-width:980px){
.b4dp .b4dp__dmethod{grid-template-columns:80px 1fr;gap:18px}
.b4dp .b4dp__dm-logo{width:80px;height:48px}
.b4dp .b4dp__dm-logo--inpost img{max-height:48px}
.b4dp .b4dp__dm-logo--dpd img{max-height:33px}
.b4dp .b4dp__dm-logo--dhl img{max-height:23px}
}
@media (max-width:680px){
.b4dp .b4dp__dbox{padding:18px 16px 20px}
.b4dp .b4dp__dbox-title{font-size:17px;margin:0 0 14px;padding-bottom:12px}
.b4dp .b4dp__dbox-body{gap:14px}
.b4dp .b4dp__dmethod{grid-template-columns:72px 1fr;gap:14px}
.b4dp .b4dp__dmethod+.b4dp__dmethod{padding-top:14px}
.b4dp .b4dp__dm-logo{width:72px;height:44px}
.b4dp .b4dp__dm-logo--inpost img{max-height:44px}
.b4dp .b4dp__dm-logo--dpd img{max-height:30px}
.b4dp .b4dp__dm-logo--dhl img{max-height:21px}
.b4dp .b4dp__dm-copy h4{font-size:15px;margin-bottom:6px}
.b4dp .b4dp__dm-copy p{font-size:12px}
.b4dp .b4dp__dm-copy .b4dp__time{margin-top:10px}
}


/* V9 delivery refinement: dedicated Paczkomat identity + compact courier matrix. */
.b4dp .b4dp__parcel-method{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:286px;padding:8px 12px}
.b4dp .b4dp__parcel-logo{width:100%;height:76px;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.b4dp .b4dp__parcel-logo img{display:block;width:auto;height:auto;max-width:340px;max-height:62px;object-fit:contain}
.b4dp .b4dp__parcel-method>p{font-size:14px;line-height:1.55;margin:0 0 20px;max-width:330px}
.b4dp .b4dp__time--centered{justify-content:center;text-align:left}
.b4dp .b4dp__dbox-lead{font-size:14px;line-height:1.55;margin:-4px 0 22px;color:#252525}
.b4dp .b4dp__courier-grid{display:grid;grid-template-columns:repeat(3,1fr);align-items:stretch;flex:1;min-height:278px}
.b4dp .b4dp__courier-item{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px 18px}
.b4dp .b4dp__courier-item+.b4dp__courier-item{border-left:1px solid var(--line)}
.b4dp .b4dp__courier-logo{width:100%;height:76px;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.b4dp .b4dp__courier-logo img{display:block;width:auto;height:auto;max-width:100%;object-fit:contain}
.b4dp .b4dp__courier-logo--inpost img{max-width:150px;max-height:52px}
.b4dp .b4dp__courier-logo--dpd img{max-width:130px;max-height:48px}
.b4dp .b4dp__courier-logo--dhl img{max-width:138px;max-height:43px}
.b4dp .b4dp__time--courier{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.b4dp .b4dp__time--courier svg{grid-row:auto;width:22px;height:22px;margin-bottom:3px}
.b4dp .b4dp__time--courier strong{font-size:17px}
.b4dp .b4dp__time--courier span{font-size:12px}
@media (max-width:980px){
  .b4dp .b4dp__courier-item{padding:10px 10px}
  .b4dp .b4dp__courier-logo--inpost img{max-width:120px}
  .b4dp .b4dp__courier-logo--dpd img{max-width:105px}
  .b4dp .b4dp__courier-logo--dhl img{max-width:112px}
  .b4dp .b4dp__parcel-logo img{max-width:285px}
}
@media (max-width:680px){
  .b4dp .b4dp__parcel-method{min-height:230px;padding:4px 0 10px}
  .b4dp .b4dp__parcel-logo{height:62px;margin-bottom:15px}
  .b4dp .b4dp__parcel-logo img{max-width:285px;max-height:50px}
  .b4dp .b4dp__parcel-method>p{font-size:12px;margin-bottom:15px}
  .b4dp .b4dp__dbox-lead{font-size:12px;margin:-2px 0 12px}
  .b4dp .b4dp__courier-grid{grid-template-columns:1fr;min-height:0}
  .b4dp .b4dp__courier-item{display:grid;grid-template-columns:125px 1fr;gap:16px;padding:15px 6px;text-align:left}
  .b4dp .b4dp__courier-item+.b4dp__courier-item{border-left:none;border-top:1px solid var(--line)}
  .b4dp .b4dp__courier-logo{height:52px;margin:0}
  .b4dp .b4dp__courier-logo--inpost img{max-width:120px;max-height:42px}
  .b4dp .b4dp__courier-logo--dpd img{max-width:104px;max-height:39px}
  .b4dp .b4dp__courier-logo--dhl img{max-width:108px;max-height:34px}
  .b4dp .b4dp__time--courier{align-items:flex-start;text-align:left}
}

/* V10 InPost icon hotfix — only supplied Paczkomat/Kurier lockup sizing. */
.b4dp .b4dp__parcel-logo{height:112px;margin-bottom:14px}
.b4dp .b4dp__parcel-logo img{max-width:150px;max-height:108px}
.b4dp .b4dp__courier-logo--inpost img{max-width:94px;max-height:72px}
@media (max-width:680px){
  .b4dp .b4dp__parcel-logo{height:98px;margin-bottom:12px}
  .b4dp .b4dp__parcel-logo img{max-width:128px;max-height:94px}
  .b4dp .b4dp__courier-logo{height:64px}
  .b4dp .b4dp__courier-logo--inpost img{max-width:82px;max-height:62px}
}
