/* Shared full-bundle emphasis and expansion note for both bundle pages. */
:is(.page-incident-bundle, .page-counselor-bundle) .cb-option-card.is-featured {
  background: linear-gradient(145deg, #fffdf8 0%, #fff8e8 100%);
  border-color: #f6bf45;
  box-shadow: 0 12px 28px rgba(184, 113, 0, 0.12);
}

:is(.page-incident-bundle, .page-counselor-bundle) .cb-option-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: var(--spacing-3);
}

:is(.page-incident-bundle, .page-counselor-bundle) .cb-option-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  isolation: isolate;
  padding: 5px 11px;
  border: 1px solid #ffdf8c;
  border-radius: 999px;
  background: linear-gradient(115deg, #fff8e4, #ffedb3);
  box-shadow: 0 3px 12px rgba(234, 179, 8, 0.12);
  color: #865600;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

:is(.page-incident-bundle, .page-counselor-bundle) .cb-option-badge > :is(span, svg) {
  position: relative;
  z-index: 1;
}

:is(.page-incident-bundle, .page-counselor-bundle) .cb-option-badge :is(span[data-lucide], svg) {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #d99500;
  fill: rgba(245, 158, 11, 0.15);
}

:is(.page-incident-bundle, .page-counselor-bundle) .cb-option-badge::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  opacity: 0;
  transform: translateX(-160%) skewX(-20deg);
  pointer-events: none;
}

@keyframes bundle-badge-shine {
  0%, 75% {
    transform: translateX(-160%) skewX(-20deg);
    opacity: 0;
  }
  79% {
    opacity: 0.7;
  }
  92%, 100% {
    transform: translateX(360%) skewX(-20deg);
    opacity: 0;
  }
}

@keyframes bundle-badge-shine-hover {
  0% {
    transform: translateX(-160%) skewX(-20deg);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(360%) skewX(-20deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  :is(.page-incident-bundle, .page-counselor-bundle) .cb-option-badge::after {
    animation: bundle-badge-shine 9s ease-in-out infinite;
  }
}

:is(.page-incident-bundle, .page-counselor-bundle) .cb-option-card.is-featured .cb-option-icon {
  margin-bottom: 0;
  background: #fff0c9;
  color: #d99500;
}

:is(.page-incident-bundle, .page-counselor-bundle) .cb-option-card.is-featured .cb-option-icon :is(span[data-lucide], svg) {
  width: 22px;
  height: 22px;
}

:is(.page-incident-bundle, .page-counselor-bundle) .cb-inline-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
  max-width: 760px;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.93rem;
  text-align: center;
}

:is(.page-incident-bundle, .page-counselor-bundle) .cb-inline-note-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #2563eb;
  fill: currentColor;
}

:is(.page-incident-bundle, .page-counselor-bundle) .cb-inline-note > span:last-child {
  min-width: 0;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.page-incident-bundle, .page-counselor-bundle) .cb-option-card.is-featured:hover {
    border-color: #e8a915;
    box-shadow: 0 16px 34px rgba(184, 113, 0, 0.16);
  }

  :is(.page-incident-bundle, .page-counselor-bundle) .cb-option-card.is-featured:hover .cb-option-badge::after {
    animation: bundle-badge-shine-hover 900ms ease-out 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.page-incident-bundle, .page-counselor-bundle) .cb-option-badge::after {
    animation: none !important;
  }

  :is(.page-incident-bundle, .page-counselor-bundle) .cb-option-card.is-featured {
    transition: none !important;
  }
}
