/* Checkout Premium Metis Revo 2.4.6 – lżejsza sekcja „Metoda płatności” w stylu sekcji dostawy
   Metis Media | metismedia.pl
   Tylko CSS na istniejącym kodzie bramki imoje: logo metody po klasie bramki, podtytuły w ::after,
   więc układ zostaje po każdym odświeżeniu sekcji przez WooCommerce. Logotypy z wtyczki imoje na sklepie. */

/* ---------- wiersz metody ---------- */
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment ul.wc_payment_methods{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;padding:0!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method{position:relative!important;margin:0!important;padding:0!important;border:1.5px solid #e7e7e3!important;border-radius:18px!important;background:#fff!important;overflow:hidden!important;outline:0!important;transition:border-color .18s ease,background-color .18s ease!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method:hover{border-color:#cfcfca!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method.rpc-payment-selected{border-color:#111!important;background:#fafaf8!important}

/* logo metody */
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method::before{content:""!important;display:block!important;position:absolute!important;left:50px!important;top:11px!important;width:72px!important;height:40px!important;border-radius:10px!important;border:1px solid #ececea!important;background:#fff center/auto 24px no-repeat!important;pointer-events:none!important;clear:none!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.payment_method_imoje_blik::before{background-image:url("../../../imoje/assets/images/imoje_blik.svg")!important;background-size:auto 28px!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.payment_method_imoje::before{background-image:url("../../../imoje/assets/images/imoje_pbl.svg")!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.payment_method_imoje_cards::before{background-image:url("../../../imoje/assets/images/imoje_cards.svg")!important}

/* podtytuł */
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method::after{display:block!important;position:absolute!important;left:136px!important;top:34px!important;right:18px!important;font-size:13px!important;font-weight:500!important;line-height:1.25!important;color:#80838c!important;pointer-events:none!important;clear:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.payment_method_imoje_blik::after{content:"Kod z aplikacji banku"!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.payment_method_imoje::after{content:"Przelew z Twojego banku"!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.payment_method_imoje_cards::after{content:"Visa, Mastercard"!important}

/* nazwa metody + radio */
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method > label{display:block!important;min-height:62px!important;margin:0!important;padding:13px 18px 30px 136px!important;font-size:15px!important;font-weight:700!important;line-height:1.2!important;color:#111!important;cursor:pointer!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method > label img{display:none!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method > label::before{left:16px!important;top:21px!important;width:20px!important;height:20px!important;border-width:1.5px!important;border-color:#cfcfca!important;transform:none!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method.rpc-payment-selected > label::before{border-color:#111!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method > label::after{left:21px!important;top:26px!important;width:10px!important;height:10px!important}

/* ---------- pole rozwinięte pod wybraną metodą ---------- */
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method .payment_box{margin:0 12px 12px!important;padding:14px 16px!important;border:1px solid #ecece8!important;border-radius:14px!important;background:#fff!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method .payment_box::before,
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method .payment_box::after{display:none!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method .payment_box p{margin:0!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;color:#80838c!important}

/* BLIK: krótka etykieta, pole na 6 cyfr */
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment .payment_box.payment_method_imoje_blik > p:first-child{font-size:0!important;margin:0 0 8px!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment .payment_box.payment_method_imoje_blik > p:first-child::before{content:"Wpisz 6-cyfrowy kod BLIK";font-size:13px;font-weight:700;color:#111}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment .imoje-blik-code-container{display:block!important;margin:0!important;padding:0!important;text-align:left!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment .imoje-blik-code-container input[name="imoje-blik-code"]{display:block!important;width:100%!important;max-width:240px!important;height:52px!important;min-height:52px!important;margin:0!important;padding:0 12px 0 20px!important;border:1.5px solid #dedfdf!important;border-radius:14px!important;background:#fff!important;font-family:"Fira Code",ui-monospace,Menlo,monospace!important;font-size:22px!important;font-weight:600!important;letter-spacing:.3em!important;text-align:center!important;color:#111!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment .imoje-blik-code-container input[name="imoje-blik-code"]::placeholder{color:#c9c9c4!important;font-weight:400!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment .imoje-blik-code-container input[name="imoje-blik-code"]:focus{border-color:#111!important;outline:none!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment .imoje-regulations{margin:10px 0 0!important;padding:0!important;font-size:12px!important;line-height:1.45!important;color:#80838c!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment .imoje-regulations span{font-size:12px!important;line-height:1.45!important;color:#80838c!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment .imoje-regulations a{color:#111!important;font-weight:600!important;text-decoration:underline!important;text-underline-offset:2px!important}

/* ---------- operator płatności ---------- */
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment::after{content:"Płatności obsługuje";display:block;width:max-content;max-width:100%;margin:12px auto 0;padding:2px 62px 2px 0;font-size:12.5px;font-weight:500;line-height:20px;color:#80838c;background:url("../../../imoje/assets/images/imoje.svg") right center/54px auto no-repeat}

/* ---------- telefon ---------- */
@media (max-width:700px){
  html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method{border-radius:16px!important}
  html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method::before{left:46px!important;top:13px!important;width:60px!important;height:34px!important;background-size:auto 22px!important}
  html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.payment_method_imoje_blik::before{background-size:auto 24px!important}
  html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method::after{left:118px!important;right:12px!important}
  html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method > label{padding-left:118px!important;padding-right:12px!important}
  html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method > label::before{left:14px!important}
  html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method > label::after{left:19px!important}
  html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method .payment_box{margin:0 10px 10px!important;padding:12px 14px!important}
  html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment .imoje-blik-code-container input[name="imoje-blik-code"]{max-width:none!important}
}

/* poprawki: kropka radia w środku, pole pod metodą w ramce wiersza, nazwa w jednej linii */
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method > label::before{top:31px!important;transform:translateY(-50%)!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method > label::after{left:21px!important;top:31px!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method .payment_box{width:auto!important;max-width:none!important;box-sizing:border-box!important;float:none!important}
html body.revolife-premium-checkout-page .rpc-payment-card.rpc-payment-card #payment li.wc_payment_method > label{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
