/* Halaman pemilih paket: tiga panel sebesar satu layar. */

/* ---------- 1. pilih paket ---------- */
.pick {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}
.pick-head { display: grid; gap: 0.5rem; padding-bottom: clamp(14px, 2.4vh, 28px); padding-right: var(--pad-r); }
.pick-head h1 { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.2rem); }
.pick-head .lede { max-width: 58ch; }

.tiers {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 0;
  margin-left: calc((var(--pad-l) - var(--thread-x) - 22px) * -1);
  background: var(--white);
}
.tier {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
}
.tier--ess { background: var(--pink); color: var(--ink); }
.tier--pre { background: var(--navy); color: var(--white); }
.tier--sig { background: var(--crimson); color: var(--white); }

.tier-shot { flex: 1 1 0; min-height: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.22); display: none; }
.tier--ess .tier-shot { border-color: rgba(18, 32, 63, 0.2); }
.tier-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.tier-flag {
  position: absolute;
  top: 0;
  right: 16px;
  padding: 0.2rem 0.7rem;
  background: var(--gold-2);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.tier-body { display: grid; gap: 0.35rem; align-content: start; }
.tier h2 { display: grid; gap: 0.1rem; }
.tier-name { font: 600 0.95rem/1.3 var(--sans); }
.tier-out { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.05; }
.tier-sum { display: none; gap: 0.35rem; font-size: 0.95rem; line-height: 1.45; }
.tier-sum li { padding-left: 1.1rem; position: relative; }
.tier-sum li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.tier .btn { margin-top: 0.4rem; justify-self: start; }
.tier .btn::after { content: ""; position: absolute; inset: 0; }

/* telepon dan tablet: tangkapan layar tampil kecil, tiap panel satu baris */
@media (max-width: 899px) {
  .tier { flex-direction: row; align-items: center; gap: 14px; }
  .tier-shot { display: block; flex: 0 0 38%; height: 100%; max-height: 110px; }
  .tier-body { flex: 1 1 0; }
  .tier-flag { right: 0; left: auto; }
  .tier .btn { min-height: 42px; padding: 0.5rem 1rem; font-size: 0.93rem; margin-top: 0.2rem; }
}
@media (max-width: 899px) and (min-height: 960px) {
  .tier-shot { max-height: 150px; }
  .tier-sum { display: grid; font-size: 0.88rem; }
}

@media (min-width: 900px) {
  .tiers { flex-direction: row; gap: 4px; }
  .tier { padding: 22px 22px 28px; gap: 18px; }
  .tier--pre { flex-grow: 1.25; }
  .tier--pre { padding-top: 42px; }
  .tier-shot { display: block; }
  .tier-flag { right: auto; left: 22px; }
  .tier-body { gap: 0.5rem; }
  .tier-sum { display: grid; }
  }
@media (min-width: 900px) and (max-height: 760px) {
  .tier-sum li:nth-child(n + 3) { display: none; }
  .tier { gap: 12px; padding-bottom: 20px; }
}
