.wallet-carousel {
  min-width: 0;
  padding: 37px 0 42px;
  border-top: 1px solid var(--stone, #D9D1C7);
}

.wallet-carousel .section-heading { margin-bottom: 25px; }
.wallet-carousel .section-heading h2 { margin-bottom: 12px; }

.wallet-controls {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.wallet-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--navy, #2F3A4A);
  border-radius: 50%;
  color: var(--navy, #2F3A4A);
  background: transparent;
  font: inherit;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}

.wallet-controls button:hover:not(:disabled) {
  color: var(--warm-white, #FFFDFC);
  background: var(--navy, #2F3A4A);
}

.wallet-controls button:disabled { opacity: .3; cursor: default; }
.wallet-controls button:focus-visible,
.wallet-track:focus-visible { outline: 2px solid var(--navy, #2F3A4A); outline-offset: 4px; }
.wallet-controls svg { width: 19px; height: 19px; }

.wallet-status {
  min-width: 94px;
  margin-right: 7px;
  color: var(--espresso, #4A3427);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.wallet-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  align-items: stretch;
  gap: 24px;
  min-width: 0;
  width: 100%;
  padding-bottom: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--taupe, #B89F8A) transparent;
}

.wallet-track::-webkit-scrollbar { height: 6px; }
.wallet-track::-webkit-scrollbar-thumb { border-radius: 6px; background: var(--taupe, #B89F8A); }
.wallet-track::-webkit-scrollbar-track { background: transparent; }

.wallet-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  border: 1px solid var(--stone, #D9D1C7);
  background: var(--warm-white, #FFFDFC);
  scroll-snap-align: start;
}

.wallet-image {
  --wallet-image-x: 28px;
  --wallet-image-y: 25px;
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 1.6;
  background: #F4F0EB;
}

.wallet-image img { position: absolute; inset: var(--wallet-image-y) var(--wallet-image-x); display: block; width: calc(100% - 2 * var(--wallet-image-x)); height: calc(100% - 2 * var(--wallet-image-y)); object-fit: contain; }
.wallet-copy { display: flex; flex: 1; flex-direction: column; padding: 24px 24px 19px; }
.wallet-copy h3 { margin: 0 0 20px; font-size: 24px; line-height: 1.28; letter-spacing: -.01em; }
.wallet-title-link { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--taupe); text-underline-offset: 5px; }
.wallet-title-link:hover { text-decoration-color: var(--navy); }
.wallet-label { margin: 0 0 7px; color: var(--navy, #2F3A4A); font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.wallet-reasons p:not(.wallet-label), .wallet-rates { font-size: 13px; line-height: 1.8; }
.wallet-rates { margin: 19px 0 0; }
.wallet-rates p:not(.wallet-label) { margin: 0; font-size: 13px; line-height: 1.8; }
.wallet-rates ul { margin: 0; padding-left: 18px; }
.wallet-rates li + li { margin-top: 5px; }
.wallet-reasons a, .wallet-rates a, .wallet-note a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .wallet-track { grid-auto-columns: calc((100% - 22px) / 2); gap: 22px; }
  .wallet-image { --wallet-image-x: 27px; --wallet-image-y: 23px; }
  .wallet-copy { padding: 22px 22px 17px; }
}

@media (max-width: 680px) {
  .wallet-carousel { padding: 29px 0 32px; }
  .wallet-carousel .section-heading { margin-bottom: 20px; }
  .wallet-controls { justify-content: flex-start; margin-top: 16px; }
  .wallet-status { margin-right: 9px; text-align: left; }
  .wallet-track { grid-auto-columns: 100%; gap: 18px; }
  .wallet-image { --wallet-image-x: 32px; --wallet-image-y: 26px; }
  .wallet-copy h3 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .wallet-controls button { transition: none; }
}
