/* PAY-02 — Image-only payment brands; loaded last after legacy theme/reminder rules. */
/* Every logo retains its intrinsic proportions, transparent backgrounds and source colors. */
.cart-v17-payments > div,
.checkout-paylogos-v18,
.ref33-footer .footer-bottom .payments.payment-images,
.home-v2 #reminder .payment-logo-row {
  align-items:center;
  flex-wrap:wrap;
}
.cart-v17-payments > div > i,
.checkout-paylogos-v18 > span,
.ref33-footer .footer-bottom .payments.payment-images > span,
.home-v2 #reminder .payment-logo-row > span {
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-width:0 !important;
  max-width:115px !important;
  height:36px !important;
  padding:2px 3px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.cart-v17-payments > div > i > img,
.checkout-paylogos-v18 > span > img,
.ref33-footer .footer-bottom .payments.payment-images > span > img,
.home-v2 #reminder .payment-logo-row > span > img {
  box-sizing:border-box !important;
  display:block !important;
  width:auto !important;
  max-width:110px !important;
  height:31px !important;
  max-height:31px !important;
  padding:0 !important;
  margin:0 !important;
  object-fit:contain !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
/* Dark footer: no white chip; color-preserving shadow boosts contrast of black wordmarks. */
.ref33-footer .footer-bottom .payments.payment-images {
  box-sizing:border-box !important;
  display:flex !important;
  gap:10px 14px !important;
  width:auto !important;
  max-width:100% !important;
  margin-top:10px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.ref33-footer .footer-bottom .payments.payment-images > span {
  height:40px !important;
  max-width:120px !important;
}
.ref33-footer .footer-bottom .payments.payment-images > span > img {
  max-width:116px !important;
  height:35px !important;
  max-height:35px !important;
}
/* Apple/Google vector wordmarks are solid ink and need a light treatment on navy. */
.ref33-footer .footer-bottom .payments.payment-images img[src*="pay02-apple-pay"],
.ref33-footer .footer-bottom .payments.payment-images img[src*="pay02-google-pay"] {
  filter:brightness(0) invert(1);
}
/* The Mada wordmark retains its blue-green brand colors on the dark footer. */
.ref33-footer .footer-bottom .payments.payment-images img[src*="pay02-mada"] {
  filter:drop-shadow(0 0 1px rgba(255,255,255,.65));
}
/* Avoid tiny chip-style logos in cart and checkout. */
.cart-v17-payments > div {gap:7px 10px; max-width:100%;}
.cart-v17-payments > div > i {height:34px !important;max-width:100px !important;}
.cart-v17-payments > div > i > img {height:29px !important;max-height:29px !important;max-width:97px !important;}
.checkout-paylogos-v18 {gap:8px 12px;}
.payment-brand-strip-v2611 img {
  width:auto !important;
  height:31px !important;
  max-width:92px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  object-fit:contain !important;
}
.p385b-payment-method .rw-pay01-method-logo,
.payment-brand-strip-v2611 .rw-pay01-method-logo,
.payment-method-icon-v2611 .rw-pay01-method-logo {
  display:block;
  width:auto !important;
  height:32px !important;
  max-width:108px !important;
  object-fit:contain !important;
}
/* Let wallet logos occupy the same visual height as the others. */
.payment-method-icon-v2611.rw-pay01-wallet-mark {background:transparent !important;}
@media(max-width:680px){
  .ref33-footer .footer-bottom .payments.payment-images {gap:8px 10px !important;justify-content:center !important;}
  .ref33-footer .footer-bottom .payments.payment-images > span {height:34px !important;}
  .ref33-footer .footer-bottom .payments.payment-images > span > img {height:30px !important;max-height:30px !important;}
  .home-v2 #reminder .payment-logo-row > span {height:32px !important;max-width:95px !important;}
  .home-v2 #reminder .payment-logo-row > span > img {height:27px !important;max-height:27px !important;max-width:95px !important;}
  .cart-v17-payments > div {max-width:245px;}
}
