/* CARD DETAIL — shared styles for every individual card page
   (gold #fdb813 · dark #212529 · Montserrat + Inter)
   Each page sets its own --card-accent via an inline style on <body>
   (see the per-card HTML files) so the hero badge, stat highlights,
   dark-band emphasis and eyebrow pick up a distinct theme color —
   everything else (nav, footer, gold CTA band) stays on brand gold.
   Falls back to the site gold when --card-accent isn't set (e.g. the
   "Our Cards" listing page, which intentionally shows every color). */

/* Per-page accent theming */
body.page-card-detail .page-hero .eyebrow,
body.page-card-detail .page-sec-head .eyebrow {
  color: var(--gold);
}

body.page-card-detail .page-hero .eyebrow span,
body.page-card-detail .page-sec-head .eyebrow span {
  background: var(--gold);
}

body.page-card-detail .page-hero-meta strong {
  color: var(--gold);
}

body.page-card-detail .cd-hero-badge {
  background: var(--gold);
  color: #1a1200;
}

body.page-card-detail .cd-quicknav a:hover {
  color: var(--gold);
}

body.page-card-detail .cd-rewards-copy .eyebrow {
  color: var(--gold);
}

body.page-card-detail .cd-rewards-copy .section-h2-white em {
  color: var(--gold);
  font-style: normal;
}

body.page-card-detail .cd-stat-tile.accent,
body.page-card-detail .cd-stat-tile.gold {
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border-color: color-mix(in srgb, var(--gold) 35%, transparent);
}

/* the .gold/.accent tiles were designed with dark text for a solid
   gold fill; themed pages replace that fill with a translucent dark
   tint (above), so the text needs to go back to light for contrast */
body.page-card-detail .cd-stat-tile.accent .cd-stat-num,
body.page-card-detail .cd-stat-tile.gold .cd-stat-num {
  color: #fff;
}

body.page-card-detail .cd-stat-tile.accent .cd-stat-lbl,
body.page-card-detail .cd-stat-tile.gold .cd-stat-lbl {
  color: rgba(255, 255, 255, 0.55);
}

body.page-card-detail .cd-benefit-card.featured {
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  border-color: color-mix(in srgb, var(--gold) 35%, transparent);
}

body.page-card-detail .cd-benefit-ico,
body.page-card-detail .cd-reward-ico {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border-color: color-mix(in srgb, var(--gold) 30%, transparent);
}

body.page-card-detail .cd-variant-card:hover,
body.page-card-detail .val-card:hover {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
}

body.page-card-detail .val-card:hover .val-ico {
  background: color-mix(in srgb, var(--gold) 30%, transparent);
}

body.page-card-detail .cd-act-num {
  background: var(--gold);
}

body.page-card-detail .cd-hl,
body.page-card-detail .cd-concierge-num {
  color: var(--gold) !important;
}

body.page-card-detail .cd-req-check {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 16%, transparent);
}

/* Hero split */
.cd-hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

/* HERO CARD VISUAL (bigger version of the .pc-face mini tile) */
.cd-hero-visual {
  position: relative;
  perspective: 1100px;
  padding: 20px 0 40px;
}

/* ambient glow tinted with the page's own accent color, ties the
   mockup back to the per-page theme (falls back to gold sitewide) */
body.page-card-detail .cd-hero-visual::after {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background: radial-gradient(
    ellipse 70% 60% at 50% 45%,
    color-mix(in srgb, var(--gold) 30%, transparent) 0%,
    transparent 70%
  );
  filter: blur(30px);
  pointer-events: none;
}

/* grounding shadow — reacts a little to the tilt via JS-set custom props */
.cd-hero-visual::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 6px;
  height: 34px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 72%);
  filter: blur(2px);
  transform: translate(var(--tilt-shadow-x, 0px), 0) scale(var(--tilt-shadow-scale, 1));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cd-face {
  position: relative;
  aspect-ratio: 1.586;
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  overflow: hidden;
  box-shadow:
    0 20px 49px rgba(0, 0, 0, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 -2px 0 rgba(0, 0, 0, 0.25) inset;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(0deg) rotateY(0deg) scale(1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  cursor: pointer;
  will-change: transform;
}

.cd-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* real card photo instead of the drawn mockup (pages that have one) */
.cd-face-photo {
  padding: 0;
}

.cd-face-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* static diagonal gloss band, always-on for a "brushed metal" read */
.cd-face::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.14) 45%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.14) 55%,
    transparent 70%
  );
  pointer-events: none;
}

/* dynamic cursor-tracking glare, position set by JS via CSS vars */
.cd-face-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, var(--glare-o, 0)) 0%,
    transparent 60%
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}

.cd-face-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.cd-chip {
  position: relative;
  width: 40px;
  height: 29px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f4e5b8 0%, #d8b96a 45%, #f4e5b8 100%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.cd-chip::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(26, 18, 0, 0.35);
  border-radius: 3px;
  background:
    linear-gradient(rgba(26, 18, 0, 0.28) 1px, transparent 1px) 0 0 / 100% 33%,
    linear-gradient(90deg, rgba(26, 18, 0, 0.28) 1px, transparent 1px) 0 0 / 50% 100%;
}

.cd-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
}

.cd-face-contactless {
  position: absolute;
  top: 32px;
  right: 32px;
  opacity: 0.7;
}

.cd-face-contactless svg {
  width: 22px;
  height: 22px;
  transform: rotate(90deg);
}

.cd-face-num {
  font-family: "Inter", monospace;
  font-size: 21px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

.cd-face-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.cd-face-lbl {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 4px;
}

.cd-face-holder {
  display: block;
  font-family: "Inter", monospace;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.cd-face-expiry-wrap {
  flex-shrink: 0;
  text-align: center;
}

.cd-face-expiry {
  display: block;
  font-family: "Inter", monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.cd-net {
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 20px;
  text-transform: lowercase;
}

.cd-net-mc {
  position: relative;
  width: 52px;
  height: 30px;
}

.cd-net-mc::before,
.cd-net-mc::after {
  content: "";
  position: absolute;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.cd-net-mc::before {
  left: 0;
  background: #eb5a2c;
  opacity: 0.9;
}

.cd-net-mc::after {
  left: 20px;
  background: #f2b100;
  opacity: 0.9;
  mix-blend-mode: multiply;
}

.cd-hero-badge {
  position: absolute;
  z-index: 5;
  top: -14px;
  right: 24px;
  background: var(--gold);
  color: #1a1200;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 7px 17px rgba(0, 0, 0, 0.12);
}

/* card face color tiers (shared with cards.css) */
.cd-face-amphi { background: linear-gradient(135deg, #135353 0%, #061f1f 100%); }
.cd-face-credit { background: linear-gradient(135deg, #1c2c56 0%, #0a1229 100%); }
.cd-face-prepaid { background: linear-gradient(135deg, #ef6c4d 0%, #7d2b18 100%); }
.cd-face-travel { background: linear-gradient(135deg, #2b7fb0 0%, #0a2436 100%); }
.cd-face-afrigo { background: linear-gradient(135deg, #12a37a 0%, #05372a 100%); }
.cd-face-business-mc { background: linear-gradient(135deg, #2f5d8f 0%, #0b1725 100%); }

/* QUICK NAV (sticky section jump-links) */
.cd-quicknav-wrap {
  position: sticky;
  top: var(--nav-h, 88px);
  z-index: 50;
  background: #fffdf6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cd-quicknav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 80px;
  display: flex;
  gap: 28px;
  overflow-x: auto;
}

.cd-quicknav a {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: #6b6b6b;
  text-decoration: none;
  transition: color 0.2s;
}

.cd-quicknav a:hover {
  color: var(--gold);
}

/* FEATURES GRID (reuses shared .val-card) */
.cd-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* REWARDS (dark band) */
.cd-rewards {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #111 55%, #0b0e16 100%);
  overflow: hidden;
}

.cd-rewards::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cd-rewards-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.cd-rewards-copy .section-h2-white {
  margin: 12px 0 16px;
}

.cd-rewards-copy > p {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 460px;
  margin-bottom: 30px;
}

.cd-reward-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cd-reward-item {
  display: flex;
  gap: 16px;
}

.cd-reward-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(253, 184, 19, 0.12);
  border: 1px solid rgba(253, 184, 19, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.cd-reward-ico svg {
  width: 19px;
  height: 19px;
}

.cd-reward-item h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 5px;
}

.cd-reward-item p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}

.cd-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cd-stat-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
}

.cd-stat-tile.wide {
  grid-column: 1 / -1;
}

.cd-stat-tile.accent {
  border-color: rgba(253, 184, 19, 0.25);
  background: rgba(253, 184, 19, 0.06);
}

.cd-stat-tile.gold {
  background: linear-gradient(135deg, #fdb813 0%, #f0a90c 100%);
  border-color: transparent;
}

.cd-stat-num {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: #fff;
  margin-bottom: 8px;
}

.cd-stat-num.sm {
  font-size: 22px;
}

.cd-stat-tile.gold .cd-stat-num {
  color: #1a1200;
}

.cd-stat-lbl {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.cd-stat-tile.gold .cd-stat-lbl {
  color: rgba(26, 18, 0, 0.68);
}

/* WIDE FEATURE CARD (full-width val-card, e.g. "3-Year Validity") */
.val-card.wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
}

.val-card.wide .val-ico {
  flex-shrink: 0;
  margin-bottom: 0;
}

/* BENEFIT CARD GRID (dark band, e.g. Platinum HNI exclusives) */
.cd-rewards-inner.stack {
  grid-template-columns: 1fr;
  padding-bottom: 60px;
}

.cd-rewards-inner.stack .cd-rewards-copy > p {
  max-width: 640px;
}

.cd-benefit-grid {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: -20px auto 0;
  padding: 0 80px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cd-benefit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px;
}

.cd-benefit-card.featured {
  background: rgba(253, 184, 19, 0.08);
  border-color: rgba(253, 184, 19, 0.3);
}

.cd-benefit-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(253, 184, 19, 0.14);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cd-benefit-ico svg {
  width: 19px;
  height: 19px;
}

.cd-benefit-card h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  margin-bottom: 8px;
}

.cd-benefit-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

/* STATS STRIP (light, standalone row of stat tiles) */
.cd-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cd-stats-strip .cd-stat-tile {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  padding: 30px 20px;
}

.cd-stats-strip .cd-stat-num {
  color: #1a1a1a;
}

.cd-stats-strip .cd-stat-lbl {
  color: #76766f;
}

/* Hni / eligibility callout */
.cd-req-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--gold-pale);
  border: 1px solid rgba(253, 184, 19, 0.3);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 22px;
}

.cd-req-callout-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(253, 184, 19, 0.25);
  color: #b37a00;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-req-callout-ico svg {
  width: 19px;
  height: 19px;
}

.cd-req-callout h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.cd-req-callout p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #6b6b6b;
}

/* Activation steps */
.cd-act-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cd-act-card {
  padding: 32px 34px;
}

.cd-act-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.cd-act-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1200;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cd-act-head h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
}

.cd-act-step {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cd-act-step.no-line {
  border-bottom: none;
  padding-bottom: 0;
}

.cd-act-step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(253, 184, 19, 0.14);
  color: #b37a00;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-act-step p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #5e5e57;
}

.cd-act-step strong {
  color: #1a1a1a;
}

.cd-hl {
  color: var(--gold) !important;
}

.cd-concierge {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #1a1200 0%, #0d0d0d 100%);
  border: 1px solid rgba(253, 184, 19, 0.18);
  border-radius: 18px;
  padding: 24px 30px;
  flex-wrap: wrap;
}

.cd-concierge-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(253, 184, 19, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-concierge-ico svg {
  width: 20px;
  height: 20px;
}

.cd-concierge-body {
  flex: 1;
  min-width: 200px;
}

.cd-concierge-body h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  margin-bottom: 3px;
}

.cd-concierge-body p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.cd-concierge-num {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--gold);
}

/* Requirements checklist */
.cd-req {
  padding: 8px 34px;
}

.cd-req-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cd-req-item.no-line {
  border-bottom: none;
}

.cd-req-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(47, 143, 91, 0.12);
  color: #2f8f5b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.cd-req-check svg {
  width: 13px;
  height: 13px;
}

.cd-req-item p {
  font-size: 14px;
  line-height: 1.65;
  color: #5e5e57;
}

.cd-req-item strong {
  color: #1a1a1a;
}

/* Fees */
.cd-fees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.cd-fees-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cd-fees-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* CARD VARIANT GRID (e.g. Naira / Dollar / GBP) */
.cd-variant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cd-variant-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 30px 28px;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s,
    border-color 0.3s;
}

.cd-variant-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02), 0 5px 14px rgba(0, 0, 0, 0.03);
  border-color: rgba(253, 184, 19, 0.4);
}

.cd-variant-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: rgba(253, 184, 19, 0.3);
}

.cd-variant-flag {
  font-size: 26px;
  margin-bottom: 14px;
}

.cd-variant-card h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.cd-variant-currency {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.cd-variant-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #76766f;
}

.cd-fee-card {
  padding: 30px 32px;
}

.cd-fee-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
}

.cd-fee-head svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cd-fee-head h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: #1a1a1a;
}

.cd-fee-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: #6b6b6b;
}

.cd-fee-row:first-of-type {
  border-top: none;
}

.cd-fee-row.total {
  font-weight: 700;
  color: #1a1a1a;
}

.cd-zerofee {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gold-pale);
  border: 1px solid rgba(253, 184, 19, 0.3);
  border-radius: 18px;
  padding: 24px 30px;
}

.cd-zerofee-ico {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(253, 184, 19, 0.2);
  color: #b37a00;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-zerofee-ico svg {
  width: 22px;
  height: 22px;
}

.cd-zerofee h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: #1a1a1a;
  margin-bottom: 3px;
}

.cd-zerofee p {
  font-size: 13px;
  color: #6b6b6b;
}

.cd-fee-sub {
  font-size: 12px;
  line-height: 1.6;
  color: #9a9a96;
  margin: -8px 0 14px;
}

.cd-fee-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 11.5px;
  line-height: 1.6;
  color: #9a9a96;
}

.cd-fee-note svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--gold);
}

.cd-fee-row.split span:last-child {
  text-align: right;
  white-space: pre-line;
}

/* FEE TILE — leads with the figure that matters rather than burying
   the total in the last row of a three-row table */
.cd-fee-card.tile {
  display: flex;
  flex-direction: column;
  padding: 28px 30px 26px;
}

.cd-fee-card.tile .cd-fee-head {
  margin-bottom: 14px;
}

.cd-fee-amount {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
}

.cd-fee-amount .dec {
  font-size: 0.6em;
  font-weight: 700;
  color: #9a9a96;
}

.cd-fee-breakdown {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #76766f;
  font-variant-numeric: tabular-nums;
}

.cd-fee-tag {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gold) 72%, #4a4a45);
}

/* DAILY LIMITS PANEL — limits are not fees, so they get their own
   full-width block instead of a fourth look-alike fee card */
.cd-limits {
  margin-top: 18px;
  padding: 26px 30px 28px;
}

.cd-limits-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cd-limits-head > svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.cd-limits-head h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: #1a1a1a;
}

.cd-limits-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 11.5px;
  line-height: 1.5;
  color: #9a9a96;
}

.cd-limits-note svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.cd-limits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cd-limit {
  padding: 18px 20px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--gold) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
}

.cd-limit-ch {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9a96;
  margin-bottom: 8px;
}

.cd-limit-val {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
}

/* VARIANT TABS (currency / product switcher on multi-variant cards) */
.cd-vartabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.cd-vartabs::-webkit-scrollbar {
  display: none;
}

.cd-vartab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 30px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.09);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #3a3a35;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cd-vartab:hover {
  border-color: color-mix(in srgb, var(--gold) 60%, transparent);
}

.cd-vartab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1200;
}

.cd-vartab-cur {
  font-weight: 800;
  opacity: 0.6;
}

.cd-vartab.is-active .cd-vartab-cur {
  opacity: 0.75;
}

.cd-varpanel[hidden] {
  display: none;
}

.cd-varpanel {
  animation: cd-varpanel-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cd-varpanel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cd-varpanel {
    animation: none;
  }
}

.cd-varpanel-intro {
  font-size: 14px;
  line-height: 1.75;
  color: #5e5e57;
  max-width: 760px;
  margin-bottom: 22px;
}

/* MERCHANT CHIPS (select global merchants a card is enabled for) */
/* Wordmark wall — a logo wall built from names rather than marks, so
   it carries the weight of a partner row without borrowing anyone's
   trademark. Even cells, so a long name never unbalances the grid. */
.cd-merchants {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.cd-merchant {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 1px rgba(20, 16, 0, 0.02);
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  text-align: center;
  text-wrap: balance;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s,
    border-color 0.3s;
}

.cd-merchant:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.02);
}

/* the trailing "and more" cell — the list is a selection, not the
   whole roster, so it reads as an opener rather than a hard limit */
.cd-merchant.more {
  background: color-mix(in srgb, var(--gold) 9%, #fff);
  border-style: dashed;
  border-color: color-mix(in srgb, var(--gold) 34%, transparent);
  font-size: 13px;
  font-weight: 600;
  color: #76766f;
}

.cd-merchant.more:hover {
  transform: none;
  box-shadow: 0 1px 1px rgba(20, 16, 0, 0.02);
}

.cd-rewards .cd-merchant {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

/* OTHER CARDS STRIP (mini card mockups, not text pills) */
.cd-other-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cd-other-strip::-webkit-scrollbar {
  display: none;
}

/* SCROLL HINT (beside the "Explore Other Cards" eyebrow) */
.cd-other-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.cd-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: #9a9a96;
}

.cd-scroll-hint svg {
  width: 13px;
  height: 13px;
  animation: cd-scroll-hint-nudge 1.6s ease-in-out infinite;
}

@keyframes cd-scroll-hint-nudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

.cd-other-tile {
  flex: 0 0 auto;
  width: 168px;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  scroll-snap-align: start;
}

.cd-other-tile:hover {
  transform: translateY(-3px);
}

.cd-other-face {
  position: relative;
  aspect-ratio: 1.586;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.35s, border-color 0.35s;
}

.cd-other-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* try "top", "center 30%", etc. */
  display: block;
}

/* light-background tiers need dark text — beats the plain-white
   default above regardless of stylesheet order (two classes > one) */

.cd-other-tile:hover .cd-other-face {
  box-shadow: 0 13px 31px rgba(0, 0, 0, 0.12);
}

body.page-card-detail .cd-other-tile:hover .cd-other-face {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
}

.cd-other-name {
  margin-top: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.3;
  color: #1a1a1a;
  text-align: center;
}

/* Request this card
   Split panel: accent-tinted copy left, plain form-card right. Themed
   entirely via --card-accent (falls back to gold on cards.html etc.)
   so this one block works, unmodified, on all eleven card pages. */
.cd-request {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 1px rgba(20, 16, 0, 0.02), 0 4px 11px rgba(20, 16, 0, 0.02);
}

.cd-request-copy {
  position: relative;
  padding: 48px 44px;
  background:
    radial-gradient(ellipse 90% 70% at 15% 0%, color-mix(in srgb, var(--gold) 30%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, #1a1200 0%, #0d0d0d 100%);
  overflow: hidden;
}

.cd-request-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.cd-request-eye {
  position: relative;
  color: var(--gold) !important;
  margin-bottom: 0;
}

.cd-request-eye span {
  background: var(--gold) !important;
}

.cd-request-h2 {
  position: relative;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 16px 0 14px;
}

.cd-request-h2 em {
  font-style: normal;
  color: var(--gold);
}

.cd-request-copy > p {
  position: relative;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 420px;
  margin-bottom: 28px;
}

.cd-request-points {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cd-request-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.cd-request-point svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}

.cd-request-card {
  padding: 44px;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.cd-request-card .form-field input:focus,
.cd-request-card .form-field select:focus,
.cd-request-card .form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 16%, transparent);
}

.cd-request-card .form-field label .req {
  color: var(--gold);
}

.cd-request-card .form-consent input:hover {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
}

.cd-request-card .form-consent input:checked {
  border-color: var(--gold);
  background: var(--gold);
}

.cd-request-card .form-consent input:focus-visible {
  outline-color: var(--gold);
}

.cd-request-card .form-success-ico {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  color: var(--gold);
}

.cd-request-card .form-success button {
  color: var(--gold);
}

/* SEARCHABLE BRANCH COMBOBOX ("Preferred pickup branch")
   Backed by window.BRANCHES (js/data/branches.js) — the same roster
   the branch locator page uses. */
.cd-combo {
  position: relative;
}

.cd-combo input {
  width: 100%;
  padding-right: 40px;
}

.cd-combo-ico {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #9a9a96;
  pointer-events: none;
}

.cd-combo-list {
  display: none;
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 13px 31px rgba(0, 0, 0, 0.08);
  padding: 6px;
}

.cd-combo.is-open .cd-combo-list {
  display: block;
}

.cd-combo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  color: #1a1a1a;
  cursor: pointer;
}

.cd-combo-item:hover,
.cd-combo-item.is-active {
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}

.cd-combo-state {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9a9a96;
}

.cd-combo-empty {
  padding: 14px 12px;
  font-size: 13px;
  color: #9a9a96;
  text-align: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .cd-hero-grid {
    grid-template-columns: 1fr;
  }

  /* Card visual leads, copy follows — applies to every card page */
  .cd-hero-visual,
  .cd-stack-wrap {
    order: -1;
  }

  .cd-hero-grid .page-hero-text {
    order: 0;
  }

  .cd-hero-visual {
    max-width: 460px;
    margin: 0 auto;
  }

  .cd-feat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cd-rewards-inner {
    grid-template-columns: 1fr;
    padding: 72px 40px;
  }

  .cd-act-grid,
  .cd-fees-grid,
  .cd-fees-grid.cols-3,
  .cd-fees-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .cd-benefit-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 40px 72px;
  }

  .cd-variant-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cd-limits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cd-limits-note {
    margin-left: 0;
    width: 100%;
  }

  .cd-stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .cd-request {
    grid-template-columns: 1fr;
  }

  .cd-request-copy {
    padding: 40px;
  }

  .cd-request-points {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 24px;
  }
}

@media (max-width: 760px) {
  .cd-feat-grid {
    grid-template-columns: 1fr;
  }

  .cd-quicknav {
    padding: 14px 24px;
  }

  .cd-stat-grid {
    grid-template-columns: 1fr;
  }

  .cd-stat-tile.wide {
    grid-column: auto;
  }

  .cd-rewards-inner {
    padding: 56px 24px;
  }

  .cd-benefit-grid {
    grid-template-columns: 1fr;
    padding: 0 24px 56px;
  }

  .cd-variant-grid {
    grid-template-columns: 1fr;
  }

  .cd-limits {
    padding: 22px 20px 24px;
  }

  .cd-merchants {
    grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
    gap: 10px;
  }

  .cd-merchant {
    min-height: 64px;
    font-size: 13px;
    padding: 14px;
  }

  .cd-stats-strip {
    grid-template-columns: 1fr;
  }

  .cd-other-tile {
    width: 132px;
  }

  .cd-req-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .cd-concierge {
    flex-direction: column;
    align-items: flex-start;
  }

  .cd-face-num {
    font-size: 16px;
  }

  .cd-request-copy {
    padding: 32px 24px;
  }

  .cd-request-points {
    flex-direction: column;
  }

  .cd-request-card {
    padding: 28px 22px;
  }
}
