/* KM-166 · Our payment method's few styles. The card box, labels, promo link and Pay button are styled
   by the checkout look (v2/assets/checkout/km-checkout.css), exactly as for her old Stripe form. */
#km-pay-dv .km-wallets { margin: 0 0 18px; }
/* The old Stripe add-on's stylesheet sets .StripeElement { height: 40px }, which clipped the wallet block
   ("See more" and Amazon Pay drew over the card form) wherever that method is also active (live, 2026-11-22). */
#km-pay-dv #km-wallet-buttons.StripeElement, #km-pay-dv #km-wallet-buttons { height: auto !important; }
#km-pay-dv .km-wallets[hidden], #km-pay-dv .km-or[hidden] { display: none !important; }
#km-pay-dv .km-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; color: #6b6478; font-size: 15px; }
#km-pay-dv .km-or::before, #km-pay-dv .km-or::after { content: ""; flex: 1; height: 1px; background: #e4dfee; }
#km-pay-dv .km-pay-field { padding: 14px 16px; border: 1px solid #d9d3e6; border-radius: 12px; background: #fff; margin: 6px 0 14px; }
#km-pay-dv .km-pay-field.StripeElement--focus { border-color: #7b3fa0; box-shadow: 0 0 0 3px rgba(123, 63, 160, .18); }
#km-pay-dv .km-pay-field.StripeElement--invalid { border-color: #b3261e; }
#km-pay-dv .km-pay-msg { margin: 4px 0 12px; color: #b3261e; font-size: 15px; }
/* Hints that stay on screen (security code, blank cards): #6e6880 is 5.3:1 on white */
#km-pay-dv .km-hint { margin: -8px 0 12px; color: #6e6880; font-size: 14px; line-height: 1.35; }
#km-pay-dv .km-row2 .km-hint { margin: 6px 0 0; }
#km-pay-dv .km-hint[hidden] { display: none; }
#km-pay-dv .km-pay-msg--err { color: #b3261e; }
#km-pay-dv #km-pay-button[disabled] { opacity: .7; cursor: progress; }
/* Card brand logos by "Card number": grey until the number shows the brand, then that one in its own
   colour and the others faded (Brent, 2026-11-22). Colours: the brands' own, as listed by Simple Icons. */
#km-pay-dv .km-cards .km-brand { display: inline-block; height: 18px; width: 18px; background: #9a94a8; opacity: .7;
  -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain; transition: background-color .2s, opacity .2s; }
#km-pay-dv .km-cards .km-brand-off { opacity: .25; }
#km-pay-dv .km-cards .km-brand-on { opacity: 1; }
#km-pay-dv .km-cards .km-brand-visa.km-brand-on { background: #1A1F71; }
#km-pay-dv .km-cards .km-brand-mastercard.km-brand-on { background: #EB001B; }
#km-pay-dv .km-cards .km-brand-amex.km-brand-on { background: #2E77BC; }
#km-pay-dv .km-cards .km-brand-discover.km-brand-on { background: #FF6000; }
/* Expiry and security code boxes line up even when a label wraps on a phone ("Expiration date (MM/YY)"). */
#km-pay-dv .km-row2 .km-f { display: flex; flex-direction: column; justify-content: flex-end; }