/* ==========================================================================
   Multipack Bundle Pricing — Pharmavida
   Paleta: #87B13B (primary), #295441 (dark green), #FFA41C (accent)
   ========================================================================== */

/* ── Container principal ───────────────────────────────────────────────── */
.pv-mp {
  margin-top: 12px;
  margin-bottom: 4px;
}

/* ── Heading ───────────────────────────────────────────────────────────── */
.pv-mp__heading {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #6a7a5a;
}

.pv-mp__heading-icon {
  color: #87B13B;
  flex-shrink: 0;
}

/* ── Grid de tiers ─────────────────────────────────────────────────────── */
.pv-mp__tiers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Tier card / botão ─────────────────────────────────────────────────── */
.pv-mp__tier {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 90px;
  padding: 10px 14px 10px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  line-height: 1.3;
  font-family: inherit;
}

.pv-mp__tier:hover {
  border-color: #87B13B;
  box-shadow: 0 2px 8px rgba(135, 177, 59, 0.15);
}

/* Estado seleccionado */
.pv-mp__tier.is-selected {
  border-color: #87B13B;
  background: rgba(135, 177, 59, 0.06);
  box-shadow: 0 0 0 1px #87B13B;
}

.pv-mp__tier.is-selected .pv-mp__tier-qty {
  color: #295441;
}

/* ── Badge de desconto ─────────────────────────────────────────────────── */
.pv-mp__tier-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  padding: 2px 7px;
  background: #87B13B;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.pv-mp__tier.is-selected .pv-mp__tier-badge {
  background: #295441;
}

/* ── Quantidade ────────────────────────────────────────────────────────── */
.pv-mp__tier-qty {
  font-size: 16px;
  font-weight: 700;
  color: #282828;
  margin-top: 4px; /* espaço para o badge */
}

/* Tier base (qty=1) sem badge — remover espaço */
.pv-mp__tier:first-child .pv-mp__tier-qty {
  margin-top: 0;
}

/* ── Label personalizada ───────────────────────────────────────────────── */
.pv-mp__tier-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #87B13B;
}

/* ── Preço por unidade ─────────────────────────────────────────────────── */
.pv-mp__tier-price {
  font-size: 13px;
  font-weight: 700;
  color: #295441;
}

.pv-mp__tier-unit {
  font-size: 10px;
  color: #888;
  margin-top: -2px;
}

/* ── Poupança ──────────────────────────────────────────────────────────── */
.pv-mp__tier-savings {
  font-size: 10px;
  font-weight: 600;
  color: #87B13B;
  margin-top: 2px;
  white-space: nowrap;
}

/* ── Responsivo ────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .pv-mp__tiers {
    gap: 6px;
  }

  .pv-mp__tier {
    min-width: 78px;
    padding: 9px 10px;
  }

  .pv-mp__tier-qty {
    font-size: 14px;
  }
}
