/* ==========================================================================
   IDSpeaker v2 — halaman Program (daftar paket). Dipakai bersama skrip lama package-program.js.
   Memakai token & komponen dari v2.css / v2-pages.css.
   ========================================================================== */
.sp-chip.active { background: var(--c, var(--ink)); color: #fff; }
.sp-chip.active i { background: #fff; }
.sp-form { margin: 0; }

.package-additional-filters-wrap { margin-top: 16px; padding-top: 12px; border-top: 2px dashed rgba(26, 10, 12, .18); }
.toggle-filters-link { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 6px 2px; font-weight: 800; font-size: 15px; color: var(--red); }
.chevron-icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.toggle-filters-link.active .chevron-icon { transform: rotate(180deg); }
.additional-filters { margin-top: 16px; }
.filters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.filter-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.filter-item > label { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.filter-item select { height: 48px; width: 100%; padding: 0 14px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-weight: 700; }
.filter-item select:disabled { opacity: .5; }
.filter-item select:focus { outline: none; box-shadow: 0 0 0 4px rgba(204, 0, 0, .18); }
.range_container { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.sliders_control { position: relative; height: 26px; }
.sliders_control input[type="range"] { -webkit-appearance: none; appearance: none; position: absolute; left: 0; top: 9px; width: 100%; height: 8px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: #e6d9d4; pointer-events: none; }
.sliders_control #fromSlider { height: 0; z-index: 1; }
.sliders_control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: all; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); cursor: grab; }
.sliders_control input[type="range"]::-moz-range-thumb { pointer-events: all; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); cursor: grab; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { flex: 1; min-width: 0; height: 42px; border-radius: 999px; border: 2.5px solid var(--ink); background: #fff; text-align: center; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); }
.reset-btn { margin-top: 18px; border: 0; background: none; padding: 0; font-weight: 800; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.reset-btn:hover { color: var(--red); }

.pk-list-title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 28px; }
.pk-list { display: grid; gap: 26px; }
.pk-card { background: #fff; border: 2.5px solid var(--line); border-radius: var(--r-lg); padding: 16px; animation: cardIn .65s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); transition: border-color .2s, box-shadow .3s var(--ease); }
.pk-card:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.pk-card__main { display: grid; grid-template-columns: 270px 1fr 260px; gap: 30px; align-items: stretch; }
.pk-card__poster { position: relative; min-height: 210px; border-radius: 22px; overflow: hidden; background: var(--c); display: grid; place-items: center; }
.pk-card__ph { display: grid; justify-items: center; gap: 10px; color: var(--ink); text-align: center; padding: 16px; }
.pk-card__ph svg { width: 40px; height: 40px; padding: 18px; box-sizing: content-box; border-radius: 24px; background: #fff; border: var(--stk); box-shadow: 4px 4px 0 var(--ink); rotate: -6deg; stroke-width: 2; }
.pk-card__ph small { font-size: 13px; font-weight: 700; opacity: .7; }
.pk-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pk-card__cat { position: absolute; left: 12px; top: 12px; padding: 5px 14px; border-radius: 999px; background: var(--sun); border: 2.5px solid var(--ink); font-size: 12.5px; font-weight: 800; rotate: -2deg; }
.pk-card__info { padding: 8px 0; min-width: 0; }
.pk-card__name { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.pk-card__org { margin-top: 6px; font-weight: 700; color: var(--red); font-size: 15px; }
.pk-card__tag { margin-top: 8px; font-weight: 700; font-size: 16px; }
.pk-card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pk-card__chips span { padding: 5px 14px; border-radius: 999px; background: var(--c); border: 2px solid rgba(26, 10, 12, .85); font-size: 13px; font-weight: 800; }
.pk-card__desc { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pk-card__buy { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 8px 6px 8px 30px; border-left: 2px dashed rgba(26, 10, 12, .22); }
.pk-card__price small { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.pk-card__price b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pk-card__buy .btn { width: 100%; height: 52px; }
.pk-tabs { display: flex; gap: 8px; }
.tab-link { flex: 1; text-align: center; padding: 10px; border-radius: 999px; border: 2.5px solid var(--ink); font-weight: 800; font-size: 14px; transition: background .2s, color .2s, transform .2s var(--ease); }
.tab-link:hover { background: var(--sun); transform: translateY(-2px); }
.tab-link.active { background: var(--ink); color: #fff; }
.tab-pane { margin-top: 16px; padding: 22px 24px; border-radius: 22px; background: var(--paper); border: 2px dashed rgba(26, 10, 12, .22); }
.pk-timeline { display: grid; gap: 18px; }
.pk-session { display: grid; grid-template-columns: 118px 1fr; gap: 20px; align-items: start; }
.pk-session__no { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: 13.5px; text-align: center; }
.pk-session dl { margin: 0; display: grid; gap: 8px; }
.pk-session dl div { display: grid; grid-template-columns: 160px 1fr; gap: 10px; }
.pk-session dt { font-weight: 800; font-size: 13.5px; color: var(--ink-2); }
.pk-session dd { margin: 0; font-weight: 600; }
.pk-terms ul { list-style: disc; padding-left: 22px; margin: 8px 0 12px; }
.pk-terms li { margin: 6px 0; line-height: 1.5; }
.pk-terms p { margin: 8px 0; line-height: 1.55; }
.pk-terms__note { padding: 12px 16px; border-radius: 14px; background: #fff3c4; border: 2px solid rgba(26, 10, 12, .6); font-weight: 600; font-size: 14.5px; }

@media (max-width: 1100px) {
  .filters-grid { grid-template-columns: repeat(2, 1fr); }
  .pk-card__main { grid-template-columns: 1fr; gap: 18px; }
  .pk-card__poster { min-height: 220px; }
  .pk-card__buy { border-left: 0; border-top: 2px dashed rgba(26, 10, 12, .22); padding: 18px 4px 4px; }
}
@media (max-width: 640px) {
  .filters-grid { grid-template-columns: 1fr; }
  .pk-session { grid-template-columns: 1fr; gap: 10px; }
  .pk-session dl div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .pk-card { animation: none !important; } }
