/* Halaman /bayar/: gaya situs yang berjalan (variabel situs.css). Noindex. */
.by h1 { margin-bottom: 8px; }
.by-sub { color: var(--teks-2); margin-bottom: 24px; }
.by-kartu { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--bayang); min-width: 0; }
.by-kartu h2 { font-size: 1.2rem; margin-bottom: 12px; }
.by-masuk { max-width: 520px; }
.by-langkah { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; font-size: .8rem; font-weight: 700; }
.by-langkah span { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--teks-2); background: #fff; }
.by-langkah .on { background: var(--biru-tua); border-color: var(--biru-tua); color: #fff; }
.by-pilih { border: 0; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .by-pilih { grid-template-columns: repeat(3, 1fr); } }
.by-paket { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 2px solid var(--border); border-radius: var(--radius); background: #fff; cursor: pointer; min-height: 44px; }
.by-paket input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.by-paket:has(input:checked) { border-color: var(--biru-tua); box-shadow: var(--bayang-l); }
.by-paket:has(input:focus-visible) { outline: 3px solid var(--oranye); outline-offset: 3px; }
.by-paket-nama { font-weight: 700; color: var(--navy); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.by-paket-nama em { font-style: normal; font-size: .72rem; font-weight: 700; background: var(--biru-muda); color: var(--biru-tua); padding: 2px 8px; border-radius: 999px; }
.by-harga { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.by-harga small { font-size: .85rem; font-weight: 600; color: var(--teks-2); }
.by-ket { font-size: .875rem; color: var(--teks-2); }
.by-dua { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 760px) { .by-dua { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.by-ringkas { display: flex; flex-direction: column; }
.by-cek { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.by-cek li { padding-left: 24px; position: relative; }
.by-cek li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 6px; height: 11px; border: solid var(--hijau-teks); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.by-akun { margin: 0 0 8px; font-size: .95rem; overflow-wrap: anywhere; }
.by-awas { background: #FFF4DC; color: #7A5000; border-radius: 10px; padding: 8px 12px; font-size: .875rem; font-weight: 600; margin: 0; }
.by-baris { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0 16px; font-size: .95rem; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.by-baris span:last-child { font-weight: 800; color: var(--navy); }
.by-ringkas label { display: block; font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.by-kupon { display: flex; gap: 8px; }
.by-kupon input { flex: 1; min-width: 0; min-height: 44px; border: 1.5px solid var(--border); border-radius: 12px; padding: 0 12px; background: #fff; }
.by-info { font-size: .875rem; font-weight: 600; min-height: 1.4em; margin: 8px 0 0; color: var(--hijau-teks); }
.by-dorong { margin-top: auto; padding-top: 16px; }
.by-bayar { width: 100%; min-height: 52px; }
.by-aman { font-size: .8125rem; color: var(--teks-2); margin: 12px 0 0; }
.by-faq { border-top: 1px solid var(--border); padding: 12px 0; margin-top: 16px; }
.by-faq + .by-faq { margin-top: 0; }
.by-faq summary { font-weight: 600; color: var(--navy); cursor: pointer; min-height: 24px; }
.by-faq p { margin: 8px 0 0; font-size: .9rem; color: var(--teks-2); }
html[data-tema="gelap"] .by-kartu, html[data-tema="gelap"] .by-paket, html[data-tema="gelap"] .by-langkah span { background: #151D29; }
html[data-tema="gelap"] .by-kupon input { background: #151D29; }
html[data-tema="gelap"] .by-paket-nama, html[data-tema="gelap"] .by-harga, html[data-tema="gelap"] .by-baris span:last-child, html[data-tema="gelap"] .by-ringkas label, html[data-tema="gelap"] .by-faq summary { color: #EDF3FA; }
html[data-tema="gelap"] .by-awas { background: #3A2E10; color: #F2D79A; }

/* Checkout penuh: pilih cara bayar, QRIS, virtual account, e-wallet, hasil. */
.by-langkah .ok { background: var(--biru-muda); border-color: var(--biru-tua); color: var(--biru-tua); }
.by-metode { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.by-grup { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--teks-2); padding: 0; margin: 0 0 8px; }
.by-metode-isi { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .by-metode-isi { grid-template-columns: 1fr 1fr; } }
.by-m { display: flex; align-items: center; gap: 12px; border: 2px solid var(--border); border-radius: 12px; padding: 10px 14px; background: #fff; cursor: pointer; min-height: 48px; margin: 0 0 8px; }
.by-metode-isi .by-m { margin: 0; }
.by-m input { accent-color: var(--biru-tua); width: 18px; height: 18px; flex: none; margin: 0; }
.by-m:has(input:checked) { border-color: var(--biru-tua); box-shadow: var(--bayang-l); }
.by-m:has(input:focus-visible) { outline: 3px solid var(--oranye); outline-offset: 2px; }
.by-m b { display: block; color: var(--navy); font-size: .95rem; }
.by-m small { color: var(--teks-2); font-size: .82rem; }
.by-tengah { text-align: center; }
.by-sempit { max-width: 560px; margin: 0 auto; }
.by-kiri { text-align: left; margin: 0 0 4px; }
.by-qr { display: inline-block; width: 240px; max-width: 100%; padding: 14px; background: #fff; border-radius: 12px; border: 1px solid var(--border); line-height: 0; color: #0B2E52; }
.by-qr svg { width: 100%; height: auto; display: block; }
.by-ket { font-size: .875rem; color: var(--teks-2); margin: 10px 0 0; }
.by-hitung-ket { margin-top: 16px; margin-bottom: 2px; }
.by-hitung { font-variant-numeric: tabular-nums; font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.by-nomor { display: flex; gap: 8px; align-items: center; justify-content: space-between; background: var(--biru-muda); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; }
.by-nomor code { font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: .04em; overflow-wrap: anywhere; text-align: left; }
.by-salin { border: 1.5px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 600; min-height: 40px; color: var(--biru-tua); flex: none; }
.by-status { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .9rem; color: var(--teks-2); margin: 16px 0 0; text-align: left; }
.by-titik { width: 10px; height: 10px; border-radius: 50%; background: var(--biru-tua); flex: none; animation: by-kedip 1.4s ease-in-out infinite; }
@keyframes by-kedip { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .by-titik { animation: none; } }
.by-centang { width: 64px; height: 64px; border-radius: 50%; background: #E3F5EC; display: grid; place-items: center; margin: 0 auto 12px; }
.by-centang::after { content: ""; width: 16px; height: 30px; border: solid var(--hijau-teks); border-width: 0 5px 5px 0; transform: rotate(45deg) translate(-2px, -2px); }
.by-silang { width: 64px; height: 64px; border-radius: 50%; background: #FDECEA; color: #B3261E; display: grid; place-items: center; margin: 0 auto 12px; font-size: 2rem; font-weight: 800; }
#by-v-cadangan { margin-top: 16px; }
html[data-tema="gelap"] .by-m, html[data-tema="gelap"] .by-salin { background: #151D29; }
html[data-tema="gelap"] .by-m b, html[data-tema="gelap"] .by-nomor code, html[data-tema="gelap"] .by-hitung { color: #EDF3FA; }
html[data-tema="gelap"] .by-centang { background: #0F2A1D; }
html[data-tema="gelap"] .by-silang { background: #3A1613; color: #F2B8B5; }

/* Pemeriksaan kupon langsung: harga asli dicoret, potongan, total dibayar tebal. */
.by-baris .by-coret { text-decoration: line-through; font-weight: 500; color: var(--teks-2); }
.by-baris.by-total { border-bottom: 0; padding-top: 12px; margin-bottom: 8px; }
.by-baris.by-total span { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.by-info.ok { color: var(--hijau-teks); }
.by-info.salah { color: #B3261E; }
html[data-tema="gelap"] .by-info.salah { color: #F2B8B5; }
.by-baris[hidden] { display: none; }
.by-baris span.by-coret:last-child { font-weight: 500; color: var(--teks-2); }
