/* Shared issuer-card pattern for the Accounts & Wallets directory and product heroes. */
.provider-official-card {
  --issuer-shadow: #302520;
  --issuer-field: #504333;
  --issuer-edge: #685032;
  --issuer-badge: #302520;
  background: linear-gradient(132deg, var(--issuer-shadow), var(--issuer-field) 61%, var(--issuer-edge));
}
.provider-official-card[data-card-tone="boost"] {
  --issuer-shadow: #35141e;
  --issuer-field: #67263a;
  --issuer-edge: #9a4354;
  --issuer-badge: #35141e;
}
.provider-official-card[data-card-tone="kaf"] {
  --issuer-shadow: #482322;
  --issuer-field: #853b32;
  --issuer-edge: #ae6448;
  --issuer-badge: #482322;
}
.provider-official-card > .provider-logo,
.aw-card .provider-official-card > .provider-logo,
.aw-detail-hero .provider-official-card > .provider-logo {
  top: 16px;
  left: 16px;
  width: clamp(116px, 34%, 154px);
  height: 42px;
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--issuer-badge);
  object-fit: contain;
  z-index: 2;
}
.provider-official-card .official-card-face {
  position: absolute;
  display: block;
  width: 63%;
  height: 92%;
  right: 4%;
  bottom: 4%;
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(0 10px 14px rgb(32 19 23 / .26));
}
.provider-official-card .art-label { z-index: 2; }
.aw-detail-hero .provider-official-card > .provider-logo {
  width: clamp(136px, 35%, 180px);
  height: 48px;
  top: 20px;
  left: 20px;
}
/* The pale rectangle behind older transparent card images was a global img background. */
.finance-content-shell :is(.aw-card, .aw-detail-hero) .provider-art > img.product-art {
  background: transparent;
  border-color: transparent;
}
.aw-card-title > .aw-card-arrow { color: var(--link, #2f695d); align-self: center; }
.aw-card-title > .aw-card-arrow svg { width: 16px; height: 16px; }
.aw-card:focus-within { outline: 2px solid var(--focus, #a9432e); outline-offset: 4px; }
.aw-detail-hero .aw-hero-card-visual .aw-pay { justify-content: flex-start; }
@media (max-width: 600px) {
  .provider-official-card .official-card-face { width: 63%; height: 89%; }
  .aw-card .card-foot { display: grid; grid-template-columns: 1fr; row-gap: 5px; align-content: start; }
  .aw-card .card-foot .aw-pay { justify-content: flex-start; }
  .finance-content-shell:has(.aw-explore) main { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .aw-card:hover { transform: none; }
}

/* Use readable labels on the old and new versions of the same wallet component. */
.aw-card .art-label, .aw-detail-hero .art-label { font-size: 11px; }
.aw-card .card-foot, .aw-card .card-foot strong { font-size: 12px; }
.finance-content-shell:has(.aw-explore,.aw-detail-hero) .breadcrumb,
.aw-providers a,
.aw-detail-hero .hero-facts dt { font-size: 12px; }
.shopee-phone-top { color: #fff3eb; background: #a72e1a; border-radius: 6px; padding: 2px 5px; }
