/* PixLink — halaman pricelist produk (produk.php). Mobile-first; warna dari tema th-dispo / th-pb. */
.px-prodpage { padding-bottom: 120px; }
.px-prodpage h1, .px-prodpage h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; }
.px-logo-mark { width: 30px; height: 30px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--metal); background-size: 220% 100%; color: var(--accent-ink); font-weight: 800; transform: rotate(-6deg); }
.px-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

.pp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--solid);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--stroke); }
.pp-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.pp-brand:hover { color: var(--text); filter: none; }
.pp-tools { margin-left: auto; }
.pp-main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }

.pp-hero { text-align: center; padding: 10px 0 22px; animation: navaRise .8s var(--ease) both; }
.pp-hero h1 { font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.02; margin: 8px 0 10px; }
.pp-hero p { max-width: 520px; margin: 0 auto 18px; }
.pp-ic { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.6rem; color: var(--accent-ink);
  background: var(--metal); background-size: 220% 100%; box-shadow: 0 16px 34px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.5); animation: pxSheen 8s ease-in-out infinite; }
.pp-switch { display: inline-flex; padding: 5px; border-radius: 99px; gap: 4px; max-width: 100%; }
.pp-switch a { padding: 9px 14px; border-radius: 99px; color: var(--text); font-weight: 700; font-size: .84rem; white-space: nowrap; }
.pp-switch a.on { background: var(--metal); background-size: 220% 100%; color: var(--accent-ink); }
.pp-switch a:hover { filter: none; }

.pp-list { display: grid; gap: 14px; }
@media (min-width: 900px) { .pp-list { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pp-item { position: relative; display: block; cursor: pointer; padding: 20px 18px 16px 18px; border-radius: 24px; margin: 0; animation: navaRise .7s var(--ease) both; animation-delay: var(--d, 0ms);
  transition: transform .3s var(--spring), border-color .3s, box-shadow .3s; }
.pp-item input { position: absolute; opacity: 0; pointer-events: none; }
.pp-item:active { transform: scale(.985); }
.pp-radio { position: absolute; top: 20px; right: 18px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--stroke-2); transition: .25s; }
.pp-item input:checked ~ .pp-radio { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 42%, transparent 46%); }
.pp-item:has(input:checked) { border-color: rgba(var(--accent-rgb), .7); box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .35), var(--shadow); }
.pp-item input:focus-visible ~ .pp-radio { outline: 2px solid var(--accent); outline-offset: 3px; }
.pp-head { display: flex; flex-direction: column; gap: 10px; padding-right: 34px; }
.pp-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.pp-badge { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 99px; font-size: .68rem; font-weight: 800; vertical-align: 2px; background: var(--metal); background-size: 220% 100%; color: var(--accent-ink); }
.pp-price { font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pp-price small { font-size: .78rem; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.pp-feat { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--stroke); display: grid; gap: 7px; font-size: .9rem; }
.pp-feat li { display: flex; gap: 8px; align-items: flex-start; }
.pp-feat i { color: var(--accent); margin-top: 1px; }

.pp-form { margin: 22px 0 0; padding: 22px 18px; border-radius: 24px; scroll-margin-top: 70px; }
.pp-form h2 { font-size: 1.3rem; margin: 0 0 14px; }
.pp-form .form-label { font-size: .72rem; }
.pp-form .form-control { min-height: 48px; font-size: 16px; }     /* 16px: iPhone tidak memperbesar halaman saat kolom disentuh */
.pp-form textarea.form-control { min-height: 0; }
form.tried .pp-form .form-control:invalid { border-color: #e5484d; }
.pp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

.pp-bar { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 22px;
  animation: navaPop .6s .2s var(--ease) both; }
.pp-bar-txt { flex: 1; min-width: 0; line-height: 1.2; }
.pp-bar-txt small { display: block; font-size: .7rem; }
.pp-bar-txt b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-bar .btn { padding: .8rem 1.4rem; flex: none; }
@media (min-width: 900px) { .pp-bar { left: 50%; right: auto; width: 560px; transform: translateX(-50%); } }

.pp-done { max-width: 520px; margin: 10px auto 0; padding: 30px 22px; border-radius: 28px; text-align: center; animation: navaPop .7s var(--ease) both; }
.pp-done h1 { font-size: 1.9rem; margin: 14px 0 8px; }
.pp-ok { width: 72px; height: 72px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 2rem; background: var(--metal); background-size: 220% 100%; color: var(--accent-ink); box-shadow: 0 16px 34px rgba(0,0,0,.45); }
.pp-code { display: inline-block; margin: 6px 0 16px; padding: 10px 18px; border-radius: 14px; border: 1px dashed var(--stroke-2); font: 800 1.25rem/1 ui-monospace, 'Courier New', monospace; letter-spacing: .08em; }
.pp-sum { text-align: left; margin: 0 0 14px; display: grid; gap: 8px; }
.pp-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--glass); }
.pp-sum dt { font-weight: 600; color: var(--muted); font-size: .86rem; } .pp-sum dd { margin: 0; text-align: right; }
.pp-bank { text-align: left; padding: 14px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--stroke); font-size: .9rem; }
.pp-bank b { display: block; margin-bottom: 4px; }

/* ---------- Harga per jumlah tamu (2026-11-23) ---------- */
.pp-calc { display: grid; gap: 14px; }
@media (min-width: 900px) { .pp-calc { grid-template-columns: 1.05fr 1fr; align-items: stretch; gap: 18px; } }
.pp-guests { padding: 22px 18px 18px; border-radius: 26px; text-align: center; animation: navaRise .7s var(--ease) both; }
.pp-guests h2 { font-size: 1.12rem; margin: 0 0 6px; letter-spacing: -.02em; }
.pp-count { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 6px 0 14px; }
.pp-count b { font-size: clamp(3.4rem, 18vw, 5rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; min-width: 1.2ch;
  background: var(--metal); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pxSheen 7s ease-in-out infinite; }
.pp-count span { font-weight: 700; color: var(--muted); }
/* geseran: jalur kaca + isi kilau logam sampai titik terpilih */
.pp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; touch-action: pan-y;
  --p: calc(var(--v, 0) / var(--n, 1) * 100%); }
.pp-range::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, rgba(var(--accent-rgb), .9) var(--p), var(--glass-2) var(--p)); box-shadow: inset 2px 2px 5px rgba(0,0,0,.35); }
.pp-range::-moz-range-track { height: 10px; border-radius: 99px; background: var(--glass-2); box-shadow: inset 2px 2px 5px rgba(0,0,0,.35); }
.pp-range::-moz-range-progress { height: 10px; border-radius: 99px; background: rgba(var(--accent-rgb), .9); }
.pp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; border: 3px solid var(--bg);
  background: var(--metal); background-size: 220% 100%; box-shadow: 0 6px 16px rgba(0,0,0,.45), 0 0 0 6px rgba(var(--accent-rgb), .18); transition: transform .2s var(--spring); }
.pp-range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--bg); background: var(--accent); box-shadow: 0 6px 16px rgba(0,0,0,.45); }
.pp-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.pp-range:focus-visible { outline: none; } .pp-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--accent); }
.pp-ticks { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 4px; margin-top: 4px; }
.pp-ticks button { border: 1px solid var(--stroke); background: var(--glass); color: var(--muted); font-weight: 800; font-size: .8rem; padding: 8px 0; border-radius: 12px; min-height: 38px; transition: .25s; }
.pp-ticks button.on { background: var(--metal); background-size: 220% 100%; color: var(--accent-ink); border-color: transparent; transform: translateY(-2px); }
.pp-steps { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--stroke); flex-wrap: wrap; }
.pp-steps li { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--muted); padding: 6px 10px; border-radius: 99px; background: var(--glass); counter-increment: st; }
.pp-steps li::before { content: counter(st); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; background: var(--glass-2); color: var(--text); }
.pp-steps li i { color: var(--accent); }
.pp-steps { counter-reset: st; }
.pp-tiers { display: grid; }
.pp-tier { grid-area: 1 / 1; padding: 22px 20px 18px; border-radius: 26px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transition: opacity .35s ease, transform .45s var(--spring), visibility .35s; }
.pp-tier.on { opacity: 1; visibility: visible; transform: none; }
.pp-tier-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pp-tier .pp-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.pp-tier .pp-badge { margin: 0; }
.pp-for { flex-basis: 100%; font-size: .82rem; font-weight: 700; color: var(--accent); }
.pp-normal { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.pp-normal span { padding: 2px 8px; border-radius: 99px; font-size: .74rem; font-weight: 800; background: #e5484d; color: #fff; }
.pp-tier .pp-price { font-size: clamp(2.2rem, 11vw, 2.9rem); margin-top: 4px; }
.pp-normal + .pp-price { margin-top: 2px; }
.pp-tier:not(:has(.pp-normal)) .pp-price { margin-top: 14px; }
.pp-unit { font-size: .84rem; color: var(--muted); margin-top: 4px; }

/* ---------- Halaman "Lihat produk" (detail.php) & pricelist Kelola Admin (langganan.php) ---------- */
.dt-switch { display: flex; width: 100%; max-width: 560px; margin: 4px auto 0; }
.dt-switch a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .72rem; line-height: 1.15; white-space: normal; text-align: center; padding: 8px 4px; }
.dt-switch a i { font-size: 1.05rem; }
@media (min-width: 576px) { .dt-switch a { flex-direction: row; justify-content: center; gap: 6px; font-size: .84rem; } }
.dt-hero { display: grid; gap: 6px; align-items: center; padding: 18px 0 6px; }
.dt-copy { text-align: center; animation: navaRise .8s var(--ease) both; }
.dt-copy h1 { font-size: clamp(1.9rem, 8.4vw, 3.4rem); line-height: 1.04; margin: 10px 0 10px; }
.dt-copy p { max-width: 560px; margin: 0 auto; }
.dt-device { height: 430px; display: grid; place-items: center; perspective: 1200px; }
.dt-device .px-phone { transform: scale(.74) rotateY(-12deg) rotateX(5deg); animation: dtFloat 7s ease-in-out infinite; }
@keyframes dtFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (min-width: 900px) {
  .dt-hero { grid-template-columns: 1.1fr 1fr; gap: 30px; padding: 40px 0 20px; }
  .dt-copy { text-align: left; } .dt-copy p { margin: 0; }
  .dt-device { height: 600px; } .dt-device .px-phone { transform: rotateY(-14deg) rotateX(6deg); }
}
.dt-sec { margin-top: 28px; }
.dt-sec h2 { font-size: 1.4rem; margin: 0 0 12px; }
.dt-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 768px) { .dt-steps { grid-template-columns: repeat(3, 1fr); } }
.dt-steps li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 20px; }
.dt-steps .n { position: absolute; right: 14px; top: 6px; font-size: 2.2rem; font-weight: 800; opacity: .25; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dt-steps li > i { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; color: var(--accent-ink); background: var(--metal); background-size: 220% 100%; }
.dt-steps b { display: block; } .dt-steps small { color: var(--muted); font-size: .86rem; line-height: 1.4; display: block; }
.dt-feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .dt-feat { grid-template-columns: repeat(3, 1fr); } }
.dt-feat > div { padding: 16px 14px; border-radius: 20px; }
.dt-feat i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: var(--accent); background: var(--glass-2); border: 1px solid var(--stroke); margin-bottom: 10px; }
.dt-feat b { display: block; font-size: .92rem; } .dt-feat small { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; margin-top: 2px; }
.px-detail .px-faq { border-radius: 18px; margin-bottom: 8px; padding: 0 16px; }
.lg-head { text-align: center; padding: 14px 0 4px; }
.lg-head h1 { font-size: clamp(1.9rem, 8vw, 3rem); margin: 10px 0 8px; }
.lg-head p { max-width: 600px; margin: 0 auto; }

/* ---------- Demo Kelola Admin (demo-admin.php) ---------- */
.da-note { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 99px; font-size: .74rem; font-weight: 700; background: var(--glass-2); border: 1px solid var(--stroke); color: var(--text); }
.da-wrap { display: grid; gap: 14px; margin-top: 10px; }
@media (min-width: 900px) { .da-wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; } }
.da-phone-wrap { height: 560px; display: grid; place-items: center; perspective: 1200px; }
.da-phone { transform: rotateY(-8deg) rotateX(4deg); box-shadow: 0 60px 90px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(241,227,211,.35), inset 0 0 0 7px #1f2019; }
@media (max-width: 380px) { .da-phone-wrap { height: 520px; } .da-phone { transform: scale(.92) rotateY(-6deg); } }
.da-screen { position: relative; }
.da-pane { display: none; flex-direction: column; gap: 10px; animation: navaRise .45s var(--ease) both; }
.da-pane.on { display: flex; }
.da-h { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: .86rem; }
.da-h span { font-size: .66rem; font-weight: 700; color: #C58C6D; }
.da-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 14px; background: rgba(255,246,235,.06); border: 1px solid rgba(241,227,211,.1); }
.da-row div { flex: 1; min-width: 0; line-height: 1.2; }
.da-row b { display: block; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.da-row small { font-size: .6rem; opacity: .65; }
.da-row em { font-style: normal; font-size: .6rem; font-weight: 800; color: #f2b84b; white-space: nowrap; }
.da-row em.ok { color: #6fd39b; }
.da-ic { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: .8rem; color: #C58C6D; background: #2f3128; }
.da-ic.g1 { color: #B7B7A4; background: linear-gradient(145deg, #6B705C, #4f5343); } .da-ic.g2 { color: #FFF6EB; background: linear-gradient(145deg, #a8704f, #5a3a2a); }
.da-chart { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding: 10px 8px 0; border-radius: 14px; background: rgba(255,246,235,.05); }
.da-chart span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.da-chart i { width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #F1E3D3, #C58C6D 40%, #8f5a3c); animation: daBar .9s var(--spring) both; transform-origin: bottom; }
.da-chart small { font-size: .55rem; opacity: .6; padding-bottom: 4px; }
@keyframes daBar { from { transform: scaleY(0); } to { transform: none; } }
.da-tab [data-go], .ad-grid [data-go] { cursor: pointer; }
.da-tab .on { color: #C58C6D; }
.da-side { display: grid; gap: 8px; }
.da-step { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px; border-radius: 18px; color: var(--text); cursor: pointer; transition: border-color .3s, transform .3s var(--spring); }
.da-step i { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: var(--accent); background: var(--glass-2); }
.da-step b { display: block; } .da-step small { color: var(--muted); font-size: .84rem; }
.da-step.on { border-color: rgba(var(--accent-rgb), .6); transform: translateX(4px); }
.da-step.on i { background: var(--metal); background-size: 220% 100%; color: var(--accent-ink); }
.dt-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
@media (min-width: 900px) { .dt-btns { justify-content: flex-start; } }
.pp-bar .pp-demo { width: 46px; height: 46px; padding: 0; flex: none; font-size: 1.1rem; }

/* =====================================================================
   RAPI SEMUA LAYAR (2026-11-24)
   ===================================================================== */
.pp-main { padding-top: 6px; padding-bottom: 120px; }          /* ruang untuk bilah bawah melekat */
.dt-switch { margin-top: 10px; position: relative; z-index: 1; }
/* bilah bawah: harga tidak terpotong — satuan diperkecil, label paket di baris kecil */
.pp-bar-txt b { font-size: 1.02rem; letter-spacing: -.01em; }
.pp-bar-txt b .u { font-size: .72rem; font-weight: 600; opacity: .7; margin-left: 2px; }
.pp-bar-txt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) { .pp-bar { gap: 8px; padding-left: 14px; } .pp-bar .btn:not(.pp-demo) { padding: .75rem 1rem; } }
@keyframes ppBump { 40% { transform: scale(1.08); color: var(--accent); } }
.pp-bar-txt b.bump { animation: ppBump .45s cubic-bezier(.34,1.56,.64,1); transform-origin: 0 50%; }
.pp-bar { animation: ppBarIn .7s cubic-bezier(.34,1.56,.64,1) .4s both; }
@keyframes ppBarIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
@media (min-width: 900px) { @keyframes ppBarIn { from { opacity: 0; transform: translate(-50%, 40px) scale(.96); } } }
/* kartu "Langkah berikutnya" di akhir halaman detail */
.dt-next { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 16px 16px 18px; border-radius: 24px; }
.dt-next-ic { width: 46px; height: 46px; flex: none; border-radius: 15px; display: grid; place-items: center; font-size: 1.3rem; color: #FFF6EB;
  background: linear-gradient(135deg, #C58C6D, #a8704f); box-shadow: 0 10px 22px rgba(168,112,79,.3); }
.dt-next > div { flex: 1; min-width: 0; line-height: 1.25; } .dt-next small { display: block; font-size: .72rem; } .dt-next b { font-size: .98rem; }
.dt-next .btn { flex: none; }
@media (max-width: 420px) { .dt-next { flex-wrap: wrap; } .dt-next .btn { width: 100%; } }
/* HP tiruan di halaman detail tidak boleh menimpa judul "Cara kerja" di HP/tablet */
@media (max-width: 899px) { .dt-device { height: 460px; margin-bottom: 8px; } .dt-device .px-phone { transform: scale(.68) rotateY(-12deg) rotateX(5deg); } }
