/* ==========================================================================
 * Price ladder / packages (M3)
 * ========================================================================== */

.vp-ladder { display: grid; gap: 10px; }

.vp-tier {
  position: relative; display: flex; align-items: stretch;
  gap: 12px; width: 100%; text-align: left;
  padding: 14px 13px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--card);
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.vp-tier:active { transform: scale(.992); }
.vp-tier.is-best {
  border-color: var(--cy);
  background: linear-gradient(180deg, rgba(46, 242, 208, .1), rgba(46, 242, 208, .02));
}
.vp-tier.is-selected {
  border-color: var(--cy);
  box-shadow: 0 0 0 1px var(--cy), 0 6px 20px rgba(46, 242, 208, .13);
}

.vp-tier__flag {
  position: absolute; top: 0; right: 0;
  font-size: 9.5px; font-weight: 900; letter-spacing: .6px;
  padding: 3.5px 9px; border-bottom-left-radius: 9px;
  background: var(--cy); color: #04211C; text-transform: uppercase;
}
.vp-tier__flag--gold { background: var(--gold); color: #3A2400; }

.vp-tier__qty {
  flex: 0 0 60px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-right: 1px solid var(--line); padding-right: 10px;
}
.vp-tier__n {
  font-size: 22px; font-weight: 900; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.vp-tier__unit {
  font-size: 9.5px; font-weight: 700; color: var(--dim);
  text-transform: uppercase; letter-spacing: .5px; margin-top: 4px;
}

.vp-tier__mid {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
}
.vp-tier__total {
  font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums;
}
.vp-tier__total s {
  font-size: 11.5px; font-weight: 600; color: var(--faint);
  margin-left: 6px;
}
.vp-tier__per { font-size: 11.5px; color: var(--dim); }
.vp-tier__per b { color: var(--cy); font-weight: 800; }
.vp-tier__save { font-size: 11px; font-weight: 800; color: var(--green); }
.vp-tier__note { font-size: 10.5px; color: var(--gold); font-weight: 700; }

.vp-tier__radio {
  flex: 0 0 auto; align-self: center;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
}
.vp-tier.is-selected .vp-tier__radio {
  border-color: var(--cy); background: var(--cy);
  box-shadow: inset 0 0 0 3px var(--bg);
}

.vp-ladder__foot {
  margin-top: 14px; font-size: 11px; color: var(--faint);
  line-height: 1.7;
}
.vp-ladder__foot b { color: var(--dim); }

/* shipping alert inside the ladder */
.vp-ladder__alert {
  display: flex; gap: 9px; align-items: flex-start;
  margin-top: 12px; padding: 11px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 197, 61, .09);
  border: 1px solid rgba(255, 197, 61, .32);
  font-size: 11.5px; color: #E8C879; line-height: 1.55;
}
.vp-ladder__alert b { color: var(--gold); }
