/* Medicated TV — v2.0 "3 ways to pay" row: Card (Stripe) · Apple Pay · Google Pay, one line (assets/v2g-pay.js). */
.mtvpay { display: grid; gap: 8px; width: 100%; min-width: 0; margin: 0; text-align: left; }
.mtvpay__lbl { margin: 0; font-size: .86rem; line-height: 1.3; color: #fff4c8; }
.mtvpay__lbl b { font-weight: 800; letter-spacing: .01em; }
.mtvpay__lbl span { color: rgba(236, 231, 255, .62); font-weight: 500; }
.mtvpay--purple .mtvpay__lbl { color: #e7d6ff; }
.mtvpay--biz .mtvpay__lbl { color: #bdf5dd; }

.mtvpay__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mtvpay__box {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 0; min-height: 64px; padding: 8px 6px; border-radius: 12px; box-sizing: border-box;
  font: 700 .92rem/1.1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .01em;
  text-decoration: none !important; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.mtvpay__box:hover { transform: translateY(-1px); filter: brightness(1.06); }
.mtvpay__box:active { transform: translateY(1px) scale(.98); }
.mtvpay__box:focus-visible { outline: 3px solid #7dffcf; outline-offset: 2px; }
.mtvpay__t { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtvpay__s { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .66rem; font-weight: 600; letter-spacing: .02em; opacity: .72; }
.mtvpay__ic { flex: 0 0 auto; }

/* Card — the Stripe box: dark glass with a gold edge (the site's own look). */
.mtvpay__box--card { color: #f5c451; background: linear-gradient(160deg, #2a2352, #151331); border: 1.5px solid rgba(245, 196, 81, .75); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 6px 16px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
.mtvpay__box--card .mtvpay__t { color: #fff; }
/* Apple Pay — black, white writing (how Apple Pay buttons look). */
.mtvpay__box--apple { color: #fff; background: #000; border: 1.5px solid #3a3a3c; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
/* Google Pay — white, dark writing (how Google Pay buttons look on dark pages). */
.mtvpay__box--google { color: #3c4043; background: #fff; border: 1.5px solid #dadce0; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.mtvpay__box--google .mtvpay__s { color: #5f6368; opacity: 1; }

.mtvpay__box.is-off { cursor: not-allowed; filter: grayscale(1); opacity: .5; transform: none; box-shadow: none; }
.mtvpay__box.is-busy { pointer-events: none; opacity: .75; }
.mtvpay__box.is-busy::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%); background-size: 200% 100%; animation: mtvpay-shine 1s linear infinite; }
@keyframes mtvpay-shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }

.mtvpay__note { margin: 0; font-size: .72rem; line-height: 1.35; color: rgba(236, 231, 255, .62); }

/* v2.1 (23.91): Klarna + Afterpay — a second, slimmer line under the three boxes.
 * Live = looks like the real button (Klarna pink, Afterpay mint, dark writing);
 * off = a dashed grey badge whose words stay readable (no fading the text). */
.mtvpay__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mtvpay__more.is-one { grid-template-columns: minmax(0, 1fr); }
.mtvpay__bnpl {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 0; min-height: 48px; padding: 6px 8px; border-radius: 10px; box-sizing: border-box;
  font: 800 .9rem/1.1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .01em;
  text-decoration: none !important; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, filter .15s ease;
}
.mtvpay__bt { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtvpay__bs { display: block; max-width: 100%; font-size: .66rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2; white-space: normal; } /* never cut short: it's the honest bit */
.mtvpay__bnpl:hover { transform: translateY(-1px); filter: brightness(1.04); }
.mtvpay__bnpl:active { transform: translateY(1px) scale(.98); }
.mtvpay__bnpl:focus-visible { outline: 3px solid #7dffcf; outline-offset: 2px; }
.mtvpay__bnpl--klarna { color: #17120f !important; background: #ffb3c7; border: 1.5px solid #ffb3c7; }
.mtvpay__bnpl--afterpay { color: #000 !important; background: #b2fce4; border: 1.5px solid #b2fce4; }
.mtvpay__bnpl--klarna .mtvpay__bs, .mtvpay__bnpl--afterpay .mtvpay__bs { color: #2b2230; }
.mtvpay__bnpl.is-off {
  cursor: not-allowed; transform: none; filter: none; opacity: 1; /* the theme fades every button:disabled to .55 — these words must stay readable */
  color: #e4def8 !important; background: rgba(255, 255, 255, .05); border: 1.5px dashed rgba(236, 231, 255, .34);
}
.mtvpay__bnpl.is-off .mtvpay__bs { color: #c9c2e6; }
.mtvpay__bnpl.is-busy { pointer-events: none; opacity: .8; }

@media (max-width: 400px) {
  .mtvpay__more { gap: 6px; }
  .mtvpay__bnpl { min-height: 46px; padding: 6px 4px; font-size: .84rem; }
  .mtvpay__bs { font-size: .62rem; }
}

@media (max-width: 400px) {
  .mtvpay__row { gap: 6px; }
  .mtvpay__box { min-height: 58px; padding: 7px 3px; font-size: .8rem; border-radius: 10px; }
  .mtvpay__s { font-size: .6rem; }
  .mtvpay__box--card .mtvpay__ic { width: 24px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mtvpay__box, .mtvpay__box:hover, .mtvpay__box:active, .mtvpay__bnpl, .mtvpay__bnpl:hover, .mtvpay__bnpl:active { transition: none; transform: none; }
  .mtvpay__box.is-busy::after { animation: none; }
}
