/* Bio Katalog Pay: tombol dan modal checkout. Memakai variabel warna tema bila ada. */
.bkpay-beli { font-family: inherit; line-height: inherit; cursor: pointer; }
.bkpay-beli--mandiri {
  display: inline-block;
  padding: 12px 20px;
  border: var(--tebal, 2px) solid var(--garis, #222);
  border-radius: var(--radius, 10px);
  background: var(--aksen, #2563eb);
  color: var(--teks-aksen, #fff);
  font-weight: 800;
  font-size: 1rem;
}
.bkpay-habis {
  display: block;
  text-align: center;
  opacity: .6;
  cursor: not-allowed;
}
span.bkpay-habis:not(.kt-tombol) { padding: 12px 20px; font-weight: 800; }

.bkpay-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .55);
}
.bkpay-modal[hidden] { display: none; }
.bkpay-kotak {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 20px;
  background: #fff;
  color: #111;
  border: var(--tebal, 2px) solid var(--garis, #222);
  border-radius: var(--radius, 12px);
  box-shadow: var(--bayang, 0 10px 30px rgba(0, 0, 0, .25));
}
.bkpay-kotak h2 { margin: 0 28px 6px 0; font-size: 1.2rem; }
.bkpay-produk { margin: 0 0 14px; font-weight: 700; }
.bkpay-tutup {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
#bkpay-form[hidden] { display: none; }
#bkpay-form label { display: block; margin-bottom: 12px; font-size: .9rem; font-weight: 700; }
#bkpay-form label[hidden], #bkpay-form p[hidden] { display: none; }
#bkpay-form textarea,
#bkpay-form input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  padding: 10px 12px;
  font-size: 1rem;
  border: 2px solid #222;
  border-radius: 8px;
  background: #fff;
  color: #111;
}
#bkpay-form textarea { resize: vertical; font-family: inherit; }
.bkpay-info-fisik { margin: 0 0 12px; font-size: .85rem; }
.bkpay-privasi { margin: 0 0 12px; font-size: .78rem; opacity: .75; }
.bkpay-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bkpay-pesan { min-height: 1.2em; margin: 0 0 10px; font-size: .9rem; }
.bkpay-pesan--galat { color: #b32d2e; font-weight: 700; }
.bkpay-pesan--ok { color: #0a7a3d; font-weight: 700; }
.bkpay-kirim {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  border: var(--tebal, 2px) solid var(--garis, #222);
  border-radius: var(--radius, 10px);
  background: var(--aksen, #2563eb);
  color: var(--teks-aksen, #fff);
}
.bkpay-kirim:disabled { opacity: .6; cursor: wait; }
body.bkpay-terbuka { overflow: hidden; }

/* Halaman terima kasih */
.bkpay-terima { max-width: 560px; margin: 0 auto; padding: 4px 0 16px; }
.bkpay-terima h2 { margin: 0 0 8px; }
.bkpay-terima--paid h2 { color: #0a7a3d; }
.bkpay-terima--expired h2, .bkpay-terima--failed h2, .bkpay-terima--canceled h2 { color: #b32d2e; }
.bkpay-rincian { width: 100%; border-collapse: collapse; margin: 14px 0; }
.bkpay-rincian th, .bkpay-rincian td { padding: 8px 6px; border-bottom: 1px solid rgba(0, 0, 0, .15); text-align: left; vertical-align: top; }
.bkpay-rincian th { width: 38%; font-weight: 600; }
.bkpay-pesan-penjual { margin: 14px 0; padding: 12px 14px; background: rgba(0, 0, 0, .05); border-radius: 8px; word-break: break-word; }
.bkpay-pesan-penjual h3 { margin: 0 0 6px; font-size: 1rem; }
.bkpay-tombol-balik {
  display: inline-block;
  padding: 10px 18px;
  font-weight: 800;
  text-decoration: none;
  border: var(--tebal, 2px) solid var(--garis, #222);
  border-radius: var(--radius, 10px);
  background: var(--aksen, #2563eb);
  color: var(--teks-aksen, #fff);
}
.bkpay-polling, .bkpay-bantuan { font-size: .9rem; opacity: .85; }
