html body .przelewy24-payment-option-nested__item{flex:0 0 25%!important;max-width:25%!important}
html body .przelewy24-payment-option-nested__label{display:flex!important;align-items:center;justify-content:center;min-height:76px!important;padding:.5rem .75rem!important}
html body .przelewy24-payment-option-nested__img-wrapper{width:100%!important;height:52px!important;justify-content:center;align-items:center}
html body .przelewy24-payment-option-nested__img{height:52px!important;width:auto!important;max-width:100%!important;object-fit:contain}
@media(max-width:767px){html body .przelewy24-payment-option-nested__item{flex:0 0 50%!important;max-width:50%!important}}
/* kolejnosc zgod w formularzu goscia: wymagane, konto, marketing */
.js-customer-form section:has(input[name="password-form__check"]){display:flex;flex-direction:column}
.js-customer-form section:has(input[name="password-form__check"])>div:has(input[name="psgdpr"]){order:1}
.js-customer-form section:has(input[name="password-form__check"])>div:has(input[name="customer_privacy"]){order:2}
.js-customer-form section:has(input[name="password-form__check"])>div:has(input[name="password-form__check"]){order:3}
.js-customer-form section:has(input[name="password-form__check"])>div:has(input[name="newsletter"]){order:4}

/* NIP firmy na gorze formularza adresu, wyrozniony */
.js-address-form section.form-fields:has(input[name="vat_number"]){display:flex;flex-direction:column}
.js-address-form section.form-fields>div:has(input[name="vat_number"]){order:-1;background:#eef5ef;border:2px solid #1d6b3a;border-radius:.5rem;padding:1rem 1rem .5rem;margin-bottom:1.5rem}
.js-address-form section.form-fields>div:has(input[name="vat_number"])::before{content:"Prowadzisz firmę? Wpisz NIP – dane firmy i adres uzupełnią się same";display:block;font-weight:700;font-size:1.05rem;margin-bottom:.35rem;color:#1d4d2e}
.js-address-form section.form-fields>div:has(input[name="vat_number"])::after{content:"Pobierzemy je automatycznie z oficjalnego rejestru podatników. Nie musisz niczego przepisywać.";display:block;font-size:.85rem;color:#444;margin:.25rem 0 .5rem}

/* Adres dostawy i adres do faktury obok siebie; NIP tylko przy fakturze */
@media(min-width:992px){
.js-address-form>form:has(>#invoice-address,>#invoice-addresses){display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:auto auto auto auto 1fr;column-gap:1.5rem;align-items:start}
.js-address-form>form:has(>#delivery-address){grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.js-address-form>form:has(>#invoice-address,>#invoice-addresses)>*{grid-column:1}
.js-address-form>form:has(>#invoice-address,>#invoice-addresses)>p.h3.mt-4{grid-column:2;grid-row:1;margin-top:0!important}
.js-address-form>form:has(>#invoice-address,>#invoice-addresses)>#invoice-address,.js-address-form>form:has(>#invoice-address,>#invoice-addresses)>#invoice-addresses{grid-column:2;grid-row:2/span 4}
.js-address-form>form:has(>#invoice-address,>#invoice-addresses)>p.h3.mt-4~*:not(#invoice-address):not(#invoice-addresses){grid-column:2}
}
.js-address-form>form:has(>#invoice-address,>#invoice-addresses) #delivery-address section.form-fields>div:has(input[name="vat_number"]){display:none}
.js-address-form div:has(>input[name="use_same_address"])::after{content:"Odznacz, jeśli dane z NIP (siedziba firmy) są inne niż adres, pod który mamy dostarczyć zamówienie.";display:block;font-size:.85rem;color:#444;margin-top:.25rem}
.js-address-form div:has(>input[name="use_same_address"]) label{font-weight:600}
.js-address-form:has(#invoice-address) #delivery-address section.form-fields>div:has(input[name="vat_number"]){display:none}
@media(min-width:992px){
.js-address-form:has(>#invoice-address){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:1.5rem;align-items:start}
.js-address-form:has(>#invoice-address)>form{grid-column:1;grid-row:1/span 2}
.js-address-form:has(>#invoice-address)>p.h3{grid-column:2;grid-row:1;margin-top:0!important}
.js-address-form:has(>#invoice-address)>#invoice-address{grid-column:2;grid-row:2}
.js-address-form:has(>#invoice-address)>.buttons-wrapper{grid-column:1/-1;grid-row:3}
}

.js-address-form:has(#invoice-addresses) .address__list{grid-template-columns:minmax(0,1fr)!important}
.js-address-form:has(#invoice-addresses) .address-card{min-width:0;overflow-wrap:anywhere}

.hpl-recap{background:#f5f2ec;border:1px solid #ddd;border-radius:.5rem;padding:.9rem 1rem;margin:0 0 1.25rem;font-size:.9rem}
.hpl-recap__cols{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:575px){.hpl-recap__cols{grid-template-columns:1fr}}
.hpl-recap__change{padding:0;margin-top:.5rem;font-size:.85rem}
.hpl-recap__warn{margin-top:.75rem;padding:.6rem .8rem;background:#fff4e5;border:1px solid #e0a040;border-radius:.4rem;font-weight:600}
#checkout-addresses-step a[href*="use_same_address=0"]{display:inline-block;padding:.55rem 1rem;border:1px solid #1d6b3a;border-radius:.4rem;font-weight:600;text-decoration:none;color:#1d6b3a;margin:.5rem 0}
