/* iPhone en CSS · medidas de see-for-yourself (.phone): 280×587, borde 12, radio 56,
   notch 84×20 a 12px. Sin PNG. Pase Wallet interior: diseño propio. */

.phone {
  position: relative;
  flex: 0 0 auto;
  width: var(--phone-w);
  height: var(--phone-h);
  background: var(--bg);
  border: var(--phone-bezel) solid var(--phone-frame);
  border-radius: var(--phone-radius);
  box-shadow: var(--phone-shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: var(--phone-notch-w);
  height: var(--phone-notch-h);
  transform: translateX(-50%);
  background: var(--phone-frame);
  border-radius: 20px;
}

.phone__screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 52px 14px 14px;
  border-radius: calc(var(--phone-radius) - var(--phone-bezel));
}

.phone__hint {
  position: absolute;
  top: calc(100% + var(--phone-bezel) + var(--phone-hint-offset));
  left: 50%;
  width: max-content;
  max-width: calc(var(--phone-w) + var(--gutter) * 2);
  transform: translateX(-50%);
  font-size: var(--phone-hint-size);
  font-weight: 500;
  color: var(--ink);
  text-align: center;
}

/* ---------- Pase Wallet ---------- */
.pass {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px;
  border-radius: var(--pass-radius);
  background: var(--pass-bg);
  color: var(--pass-fg);
}

.pass__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pass__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pass-fg);
  color: var(--pass-bg);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.pass__name {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.2;
}

.pass__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.pass__label {
  display: block;
  font-size: var(--pass-label-size);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: .7;
}

.pass__value {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
}

.pass__stamps {
  display: grid;
  grid-template-columns: repeat(var(--stamp-cols, 4), var(--pass-stamp));
  justify-content: space-between;
  row-gap: 10px;
  list-style: none;
}

.pass__stamps li {
  width: var(--pass-stamp);
  height: var(--pass-stamp);
  border: 1.5px dashed currentColor;
  border-radius: 50%;
  opacity: .6;
}

.pass__stamps li.is-on {
  border-style: solid;
  background: var(--pass-fg);
  opacity: 1;
}

.pass__qr {
  align-self: center;
  width: 108px;
  padding: 6px;
  border-radius: 8px;
  background: var(--surface);
}
