/* EduBenchers — Custom pack + All-access pack (uses eb-course.css for hero and side card) */
.eb-pk-hl { color: var(--orange); position: relative; white-space: nowrap; }
.eb-pk .eb-cp-title { position: relative; z-index: 0; }
.eb-pk-body { padding-top: 0; }
.eb-pk .eb-cp-tag i { font-size: 13px; }
.eb-pk-side { margin-top: -200px; }

.eb-pk-note { margin-top: 30px !important; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: 14.5px; }
.eb-pk-note.ok { background: #dcf7ea; color: #0a7a52; }
.eb-pk-note.bad { background: #ffe6e3; color: #c4321c; }

/* course cards */
.eb-pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.eb-pk-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin: 0; padding: 18px 16px 18px; cursor: pointer; user-select: none;
  background: #fff; border: 2px solid var(--line); border-radius: 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s; }
.eb-pk-card input { position: absolute; opacity: 0; pointer-events: none; }
.eb-pk-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(5,32,80,.12); border-color: #cfd6ea; animation: ebWiggle .5s ease; }
.eb-pk-card:focus-within { box-shadow: 0 0 0 3px rgba(250,129,40,.35); }
.eb-pk-img { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: 16px; background: var(--soft); margin-bottom: 10px; padding: 12px; transition: background .25s; }
.eb-pk-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.eb-pk-card:hover .eb-pk-img img { transform: scale(1.06) rotate(-2deg); }
.eb-pk-card b { font-family: var(--display); font-size: 16px; color: var(--navy); line-height: 1.3; }
.eb-pk-card small { color: var(--muted); font-size: 13px; }
.eb-pk-tick { position: absolute; z-index: 2; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: transparent;
  border: 2px solid #d4daea; background: #fff; transition: all .25s cubic-bezier(.3,1.6,.5,1); }
.eb-pk-card.is-in { border-color: var(--orange); background: #fff9f3; box-shadow: 0 14px 30px -12px rgba(250,129,40,.45); }
.eb-pk-card.is-in .eb-pk-img { background: #ffeedd; }
.eb-pk-card.is-in .eb-pk-tick { color: #fff; border-color: var(--orange); background: var(--orange); transform: scale(1.1); }
.eb-pk-card.is-off { opacity: .55; }
.eb-pk-card.is-off:hover { opacity: .8; }
.eb-pk-card.is-own { cursor: default; border-color: #bfeee0; background: #f3fcf9; opacity: 1; }
.eb-pk-card.is-own .eb-pk-tick { color: #fff; border-color: var(--teal); background: var(--teal); }
.eb-pk-card.is-own .eb-pk-img { background: #e1f7f2; }
.eb-pk-card.is-own:hover { transform: none; animation: none; box-shadow: none; }
.eb-pk-badge { position: absolute; z-index: 2; top: 14px; left: 12px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #0a7a52; background: #d2f5ea; }
.eb-pk-all .eb-pk-card { cursor: default; }
.eb-pk-empty { color: var(--muted); }

/* reveal */
.eb-pk.js-on .eb-pk-card { animation: ebPkIn .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
.eb-pk.js-on .eb-pk-card:hover { animation: ebWiggle .5s ease; }
@keyframes ebPkIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.eb-shake { animation: ebShake .45s ease !important; }
@keyframes ebShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

/* summary card */
.eb-pk-side-top { padding: 22px 24px 18px; color: #fff; position: relative; overflow: hidden; background: var(--navy) repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 10px, transparent 10px 20px); border-bottom: 4px solid var(--orange); }
.eb-pk-side-top > span { position: relative; z-index: 1; display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffc28f; margin-bottom: 8px; }
.eb-pk-side-top .eb-cp-price { position: relative; z-index: 1; margin: 0; }
.eb-pk-side-top .eb-cp-price b { color: #fff; }
.eb-pk-side-top .eb-cp-price s { color: rgba(255,255,255,.55); }
.eb-pk-side-in { padding: 20px 24px 22px; }
.eb-pk-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.eb-pk-meter i { height: 8px; border-radius: 8px; background: #eef2fb; transition: background .3s; }
.eb-pk-meter i.on { background: linear-gradient(90deg, var(--orange), var(--orange-2)); }
.eb-pk-count { margin: 0 0 12px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.eb-pk-count.done { color: #0a7a52; }
.eb-pk-picked { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.eb-pk-picked:empty { display: none; }
.eb-pk-picked li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #fff4ea; font-weight: 600; font-size: 14px; color: var(--navy); animation: ebPkIn .35s ease both; }
.eb-pk-picked li i { color: var(--orange); font-size: 12px; }
.eb-pk-promo { margin-bottom: 8px; text-align: center; }
.eb-pk-promo input { width: 100%; height: 46px; margin-top: 6px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 15px; text-transform: uppercase; letter-spacing: .05em; }
.eb-pk-promo input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(250,129,40,.18); }
.eb-pk .buy-btns .btn.btn-buy-now[disabled] { opacity: .55; cursor: not-allowed; animation: none; }
.eb-pk .eb-cp-inc { margin-top: 16px; }
.eb-pk-mcount { display: block; font-size: 12px; font-weight: 700; color: var(--muted, #67708a); }

@media (max-width: 991px) {
  .eb-pk-body .row > .col-lg-4 { order: 0; }
  .eb-pk-side { margin-top: 30px; }
}
@media (max-width: 767px) {
  .eb-pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .eb-pk-card { padding: 14px 10px; border-radius: 18px; }
  .eb-pk-card b { font-size: 14.5px; }
  .eb-pk-tick { top: 8px; right: 8px; width: 26px; height: 26px; }
  .eb-pk-badge { top: 9px; left: 8px; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .eb-pk *, .eb-pk *::before { animation: none !important; transition: none !important; } }
