/* Halaman tersembunyi Products: detail Professional Bootcamp, detail Mini Bootcamp, Pilih Paket (desain arah-5).
   Dimuat SETELAH home.css; hanya menambah pola yang belum ada di sana. Token dari shell.css (.lp-page).
   Design Read: A · calon peserta yang sudah memilih satu kelas · lihat isi kelas lalu pilih paket & daftar
   · satu elemen berani: sampul kelas di atas bidang kuning + kartu paket navy · dial 4/3/3.
   Kontras: navy-deep di atas kuning 8,6:1; putih di atas navy-deep 15:1; gold-ink di atas putih 5,0:1;
   ink-2 di atas putih 7,9:1 / di atas bg 7,4:1; ink-3 di atas putih 4,6:1; hijau sukses #166534 di atas putih 7,1:1;
   merah galat #B42318 di atas putih 6,2:1. Kuning tidak pernah jadi teks di atas terang. */

.pd { --ok: #166534; --ok-bg: #ECFDF3; --err: #B42318; --err-bg: #FEF3F2; }

/* pembuka: sampul kelas di atas bidang kuning */
.pd-cover { position: relative; padding: 0 22px 22px 0; justify-self: end; width: min(100%, 520px); }
.pd-cover::before { content: ""; position: absolute; inset: 22px 0 0 22px; border-radius: var(--r-lg); background: var(--yellow); }
.pd-cover figure { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-mid); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 50px 90px -50px rgba(0, 0, 0, .6); }
.pd-cover img { width: 100%; height: 100%; object-fit: cover; }
.pd .hb { padding-bottom: 72px; }
.pd .hero-in { min-height: min(480px, 60svh); }
.pd-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.pd-back svg { width: 16px; height: 16px; }
@media (hover: hover) { .pd-back:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; } }

/* isi: teks tentang kelas + silabus | kartu samping */
.pd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.pd-split.solo { grid-template-columns: minmax(0, 760px); }
.pd-main { display: grid; gap: 56px; }
.pd-prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 68ch; display: grid; gap: 14px; }
.pd-prose > * { margin: 0; }
.pd-prose ul, .pd-prose ol { padding-left: 22px; display: grid; gap: 6px; }
.pd-prose a { color: var(--navy-deep); text-decoration: underline; text-underline-offset: 4px; }
.pd-prose strong, .pd-prose b { color: var(--ink); font-weight: 600; }
.pd-prose img { border-radius: var(--r); height: auto; }
.pd-main .h2 { margin-bottom: 20px; }

/* silabus: daftar modul yang bisa dibuka (details/summary, jalan tanpa JS) */
.pd-mods { border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); padding: 4px 20px; }
.pd-mod { border-bottom: 1px solid var(--line); }
.pd-mod:last-child { border-bottom: 0; }
.pd-mod summary { list-style: none; display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 12px 0; cursor: pointer; font: 600 16.5px/1.35 var(--display); letter-spacing: -.015em; color: var(--navy-deep); }
.pd-mod summary::-webkit-details-marker { display: none; }
.pd-mod summary .num { flex: none; width: 32px; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--gold-ink); }
.pd-mod summary span:not(.num) { flex: 1; }
.pd-mod summary svg { flex: none; width: 18px; height: 18px; color: var(--ink-3); transition: transform 220ms var(--ease); }
.pd-mod[open] summary svg { transform: rotate(180deg); }
.pd-mod ul { list-style: none; margin: 0; padding: 0 0 16px 48px; display: grid; gap: 8px; }
.pd-mod li { position: relative; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pd-mod li::before { content: ""; position: absolute; left: -18px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.pd-mod p { padding: 0 0 16px 48px; font-size: 14.5px; color: var(--ink-3); }
@media (hover: hover) { .pd-mod summary:hover span:not(.num) { text-decoration: underline; text-underline-offset: 4px; } }

/* kartu samping (ringkasan paket / biaya program) */
.pd-aside { position: sticky; top: 120px; padding: 24px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -52px rgba(26, 32, 73, .4); display: grid; gap: 18px; }
.pd-aside > .mono { color: var(--gold-ink); }
.pd-aside .plans { grid-template-columns: 1fr; }
.pd-aside .plan { align-items: center; }
.pd-aside .lp-btn { justify-content: center; }
.pd-price { display: grid; gap: 4px; }
.pd-price del { font-size: 15px; color: var(--ink-3); }
.pd-price b { font: 700 clamp(32px, 3.4vw, 42px)/1.05 var(--display); letter-spacing: -.035em; color: var(--navy-deep); }
.pd-price small { font-size: 13.5px; color: var(--ink-2); }
.pd-price .pd-est { color: var(--ok); font-weight: 600; }
.pd-est:empty { display: none; }
.pd-main .pd-sub { margin: -8px 0 24px !important; }
.pd-form { margin: 0; }
.pd-form .lp-btn, .pd-cta-btn { border: 0; cursor: pointer; width: 100%; justify-content: center; min-height: 48px; }

/* voucher: label, field, tombol, pesan status */
.pd-vc { display: grid; gap: 10px; }
.pd-vc label { font-size: 14px; font-weight: 600; color: var(--ink); }
.pd-vc label small { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.pd-vc-row { display: flex; gap: 8px; }
.pd-vc input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 15px/1 var(--mono); letter-spacing: .04em; color: var(--ink); }
.pd-vc input::placeholder { font-family: var(--text); letter-spacing: 0; color: var(--ink-3); }
.pd-vc input:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.pd-vc input:focus-visible { outline: 2px solid var(--navy-deep); outline-offset: 2px; }
.pd-vc input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--err); }
.pd-vc button { flex: none; min-height: 48px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--navy-deep); box-shadow: inset 0 0 0 1.5px var(--navy-deep); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.pd-vc button:disabled { opacity: .5; cursor: default; }
@media (hover: hover) { .pd-vc button:not(:disabled):hover { background: var(--navy-deep); color: #fff; } }
.pd-msg { font-size: 14px; line-height: 1.45; }
.pd-msg:empty { display: none; }
.pd-msg p { margin: 0; padding: 10px 14px; border-radius: var(--r); }
.pd-msg .ok { background: var(--ok-bg); color: var(--ok); }
.pd-msg .err { background: var(--err-bg); color: var(--err); }
.pd-vc-box { max-width: 560px; margin-bottom: 28px; padding: 20px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }

/* paket: kartu, termahal di bidang navy (sama dengan halaman Upskilling & .plan.top beranda) */
.pd-pk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; }
.pd-pk { padding: 28px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); display: flex; flex-direction: column; gap: 18px; }
.pd-pk-h small { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.lp-home .pd-pk h3 { font-size: 24px; font-weight: 700; }
.pd-pk-price { display: grid; gap: 6px; }
.pd-pk-price b { font: 700 clamp(32px, 3.4vw, 42px)/1 var(--display); letter-spacing: -.035em; color: var(--navy-deep); }
.pd-pk-price small { font-size: 13.5px; color: var(--ok); font-weight: 600; }
.pd-pk-price small:empty { display: none; }
.pd-pk > .mono { margin-top: 4px; color: var(--gold-ink); }
.pd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-list li { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.pd-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-pale); }
.pd-list li::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid var(--navy-deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pd-list li small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.pd-list li.no { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line-2); }
.pd-list li.no::before { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.pd-list li.no::after { content: none; }
.pd-list li.no svg { position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; color: var(--ink-3); }
.pd-list li.more { display: none; }
.pd-list.open li.more { display: block; }
.pd-more { min-height: 44px; font-size: 14px; font-weight: 600; color: var(--navy-deep); text-decoration: underline; text-underline-offset: 4px; }
.pd-pk.top { background: var(--navy-deep); box-shadow: 0 40px 80px -48px rgba(26, 32, 73, .7); }
.lp-home .pd-pk.top h3, .pd-pk.top .pd-pk-price b, .pd-pk.top .pd-list li, .pd-pk.top .pd-more { color: #fff; }
.pd-pk.top .pd-pk-h small { color: var(--yellow); }
.pd-pk.top .pd-pk-price small { color: var(--yellow); }
.pd-pk.top > .mono { color: rgba(255, 255, 255, .72); }
.pd-pk.top .pd-list li::before { background: var(--yellow); }
.pd-pk.top .pd-list li small { color: rgba(255, 255, 255, .72); }
.pd-pk.top .pd-list li.no { color: rgba(255, 255, 255, .6); text-decoration-color: rgba(255, 255, 255, .4); }
.pd-pk.top .pd-list li.no::before { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.pd-pk.top .pd-list li.no svg { color: rgba(255, 255, 255, .7); }
.lp-home .pd-pk.top :focus-visible { outline-color: var(--yellow); }
.pd-help { margin-top: 24px !important; font-size: 15px; color: var(--ink-2); }
.pd-help a { font-weight: 600; color: var(--navy-deep); text-decoration: underline; text-underline-offset: 4px; }

/* halaman Pilih Paket: pembuka terang */
.pd-top { padding-top: 72px; }
.lp-home .pd-top h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; }
.pd-top .lede b { color: var(--ink); font-weight: 600; }

/* keadaan kosong: selalu ada jalan keluar */
.pd-empty { padding: 28px; border-radius: var(--r-lg); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; gap: 18px; justify-items: start; }
.pd-empty p { font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.sec-bg .pd-empty { background: var(--paper); }
.pd-tight { padding-top: 0; }

@media (max-width: 900px) {
  .pd .hb { padding-bottom: 48px; }
  .pd-cover { justify-self: start; order: -1; width: 100%; padding: 0 14px 14px 0; }
  .pd-cover::before { inset: 14px 0 0 14px; }
  .pd-split, .pd-split.solo, .pd-pk-grid { grid-template-columns: 1fr; }
  .pd-aside { position: static; }
  .pd-main { gap: 40px; }
  .pd-pk { padding: 22px; }
  .pd-top { padding-top: 40px; }
}
@media (max-width: 420px) {
  .pd-vc-row { flex-direction: column; }
  .pd-vc button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-mod summary svg, .pd-vc button { transition: none; }
}
