/* Gating пакетів MVP / Std / VIP */

.package-gated--hidden {
  display: none;
}

.nav-item.package-gated--locked,
.bottom-nav__item.package-gated--locked,
.view-switcher__btn.package-gated--locked,
.wf-panel-btn.package-gated--locked {
  opacity: 0.45;
  cursor: not-allowed;
  position: relative;
}

.nav-item.package-gated--locked::after,
.bottom-nav__item.package-gated--locked::after {
  content: "🔒";
  font-size: 10px;
  margin-left: auto;
  padding-left: 6px;
}

.view-switcher__btn.package-gated--locked::after {
  content: " Std";
  font-size: 9px;
  opacity: 0.85;
}

.package-lock {
  padding: 28px 24px;
  text-align: center;
  max-width: 420px;
  margin: 40px auto;
}

.package-lock__code {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pastel-blue-soft);
  color: var(--pastel-blue-text);
  margin-bottom: 12px;
}

.package-lock__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.package-lock__text,
.package-lock__hint {
  font-size: 13px;
  color: var(--wf-text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.package-lock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.package-lock__actions a {
  text-decoration: none;
}

.package-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pastel-green-soft);
  color: var(--pastel-green-text);
  border: 1px solid var(--pastel-green);
  white-space: nowrap;
  flex-shrink: 0;
}

.package-badge--sidebar {
  margin-top: 1px;
}

html[data-package="econom"] .package-badge {
  background: var(--pastel-blue-soft);
  color: var(--pastel-blue-text);
  border-color: var(--pastel-blue-strong);
}

html[data-package="standard"] .package-badge {
  background: var(--pastel-green-soft);
  color: var(--pastel-green-text);
  border-color: var(--pastel-green-strong);
}

html[data-package="vip"] .package-badge {
  background: #2a2a2a;
  color: #fff;
  border-color: #2a2a2a;
}

.package-bar__hint {
  font-size: 10px;
  color: var(--wf-text-muted);
  margin-left: 4px;
}

@media (max-width: 640px) {
  .package-lock {
    margin: 24px auto;
    padding: 22px 16px;
  }

  .package-lock__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .package-lock__actions .wf-panel-btn {
    width: 100%;
    justify-content: center;
  }
}
