/* Checkout Premium Metis Revo 2.4.6 – lżejsza sekcja „Metoda dostawy” z logotypami przewoźników
   Metis Media | metismedia.pl
   Logo przewoźnika dobiera się po identyfikatorze metody (data-rpc-shipping-rate), więc działa też po
   odświeżeniu listy przez WooCommerce – bez zmian w szablonie. */

/* ---------- szacowana dostawa: spokojny pasek zamiast zielonego boksu ---------- */
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-delivery-estimate{align-items:center!important;gap:12px!important;margin:0 0 14px!important;padding:12px 16px 12px 12px!important;background:#f7f7f4!important;border:1px solid #ecece8!important;border-radius:16px!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-delivery-estimate br{display:none!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-delivery-estimate-ico{width:36px!important;height:36px!important;border-radius:50%!important;border:0!important;background:#fff!important;color:#1f7a4d!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-delivery-estimate-ico svg{width:18px!important;height:18px!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-delivery-estimate-copy{display:block!important;min-width:0!important;line-height:1.35!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-delivery-estimate-copy strong{display:block!important;font-size:14.5px!important;font-weight:700!important;line-height:1.3!important;color:#111!important;margin:0!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-delivery-estimate-copy .rpc-delivery-next{display:inline!important;font-size:12.5px!important;font-weight:500!important;color:#6f737b!important;margin:0!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-delivery-estimate-copy .rpc-est-note{display:block!important;margin:1px 0 0!important;font-size:11.5px!important;font-weight:500!important;color:#9aa0a6!important}

/* ---------- lista metod ---------- */
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-v14-shipping-list{gap:8px!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row > br{display:none!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row{grid-template-columns:20px 72px minmax(0,1fr) auto!important;grid-template-areas:"radio logo copy meta"!important;gap:14px!important;min-height:64px!important;height:auto!important;padding:11px 18px 11px 16px!important;border:1.5px solid #e7e7e3!important;border-radius:18px!important;background:#fff!important;outline:0!important;box-shadow:none!important;cursor:pointer!important;transition:border-color .18s ease,background-color .18s ease!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row:hover{border-color:#cfcfca!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row.is-active{border-color:#111!important;background:#fafaf8!important;outline:0!important}

/* logo przewoźnika */
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row::before{content:""!important;grid-area:logo!important;display:block!important;position:static!important;width:72px!important;height:40px!important;border-radius:10px!important;border:1px solid #ececea!important;background:#fff center/84% auto no-repeat!important;opacity:1!important;transform:none!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card [data-rpc-shipping-rate^="revo_inpost"] .rpc-ship-row::before,
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card [data-rpc-shipping-rate*="inpost"] .rpc-ship-row::before,
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card [data-rpc-shipping-rate*="paczkomat"] .rpc-ship-row::before{background-color:#FFCD00!important;border-color:#FFCD00!important;background-image:url("../img/logo-inpost.png")!important;background-size:100% auto!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card [data-rpc-shipping-rate*="pocztex"] .rpc-ship-row::before{background-image:url("../img/logo-pocztex.png")!important;background-size:90% auto!important}

/* radio */
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row .rpc-radio{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;border-width:1.5px!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row.is-active .rpc-radio::after{inset:4px!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row:hover .rpc-radio{transform:none!important}

/* teksty */
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row .rpc-ship-copy{gap:3px!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row .rpc-ship-copy strong{font-size:15px!important;font-weight:700!important;line-height:1.2!important;color:#111!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row .rpc-ship-copy small{font-size:13px!important;font-weight:500!important;color:#80838c!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row .rpc-ship-meta{gap:4px!important;min-width:0!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row .rpc-ship-meta strong{font-size:14.5px!important;font-weight:700!important;color:#111!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row .rpc-ship-meta small{font-size:12.5px!important;font-weight:500!important;color:#80838c!important}
/* darmowa dostawa jako zielona plakietka */
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-method.rpc-ship-is-free .rpc-ship-row .rpc-ship-meta strong{display:inline-block!important;padding:3px 10px!important;border-radius:999px!important;background:#eef8f1!important;font-size:0!important;line-height:0!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-method.rpc-ship-is-free .rpc-ship-row .rpc-ship-meta strong::before{content:"Darmowa";font-size:12.5px;font-weight:700;line-height:1.3;color:#1f7a4d}

/* ---------- telefon ---------- */
@media (max-width:700px){
  html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row{grid-template-columns:20px 60px minmax(0,1fr)!important;grid-template-areas:"radio logo copy" "radio logo meta"!important;gap:4px 12px!important;padding:12px 14px!important;border-radius:16px!important}
  html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row::before{width:60px!important;height:34px!important;align-self:center!important}
  html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row .rpc-radio{align-self:center!important}
  html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row .rpc-ship-copy{align-self:end!important}
  html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-row .rpc-ship-meta{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;align-self:start!important;text-align:left!important}
  html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-delivery-estimate-copy .rpc-est-note{display:block!important;margin:2px 0 0!important}
}

/* równe odstępy między metodami: bez pustych akapitów i ukrytych dodatków przewoźnika */
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-method > p:empty,
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-v14-shipping-list > p:empty,
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-method > br{display:none!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-method{margin:0!important;padding:0!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-method:not(.is-active) .rpc-wpdesk-rate-extra{display:none!important}

/* wybór punktu Pocztex: lżejszy przycisk w ramce wybranej metody */
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rpc-ship-method.is-active .rpc-wpdesk-rate-extra{margin:8px 0 2px!important;padding:14px!important;border:1px solid #ecece8!important;border-radius:16px!important;background:#f7f7f4!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rlpx-pickup-box p{margin:0!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rlpx-pickup-box button.rlpx-open-map.rlpx-open-map{width:100%!important;height:48px!important;min-height:48px!important;padding:0 20px!important;border-radius:999px!important;border:1.5px solid #111!important;background:#fff!important;color:#111!important;font-size:14.5px!important;font-weight:700!important;transition:background-color .2s,color .2s!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rlpx-pickup-box button.rlpx-open-map.rlpx-open-map:hover{background:#111!important;color:#fff!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rlpx-pickup-box button.rlpx-open-map.rlpx-open-map *{color:inherit!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rlpx-pickup-box .rlpx-picker-hint{margin:10px 2px 0!important;font-size:12.5px!important;line-height:1.4!important;color:#80838c!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rlpx-pickup-box .rlpx-point-card.is-empty,
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rlpx-pickup-box > br,
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rlpx-pickup-box p:empty{display:none!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rlpx-pickup-box.rlpx-pickup-box{margin:0!important;padding:0!important}
html body.revolife-premium-checkout-page .rpc-delivery-card.rpc-delivery-card .rlpx-pickup-box p.rlpx-picker-hint.rlpx-picker-hint{margin:10px 2px 0!important;font-size:12.5px!important;line-height:1.4!important;color:#80838c!important}
