/*
 * Widget Info Tabs — halaman Contact Us. Angka dari artifact "Habits Kontak
 * & Kebijakan" (3 Okt 2026): tab garis bawah, kartu di tab Kontak, tabel di
 * tab kebijakan, teks dari editor Elementor.
 */
.hbt-info {
  --hbt-info-max: 860px;
  --hbt-info-active: var(--hbt-accent);
  --hbt-info-line: var(--hbt-border);
  --hbt-info-th: var(--hbt-surface);
  max-width: var(--hbt-info-max);
  margin-inline: auto;
  display: flex; flex-direction: column; gap: 24px;
  font-family: var(--hbt-font);
  color: var(--hbt-body);
  /* /contact-us/#refund menggulir widget ke atas layar; header situs
     menempel 59px, jadi beri jarak supaya bar tab tidak tertutup. */
  scroll-margin-top: 84px;
}

.hbt-info__title {
  margin: 0;
  font-size: 34px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em;
  color: var(--hbt-ink);
}

/* ── Tab ──────────────────────────────────────────────────────────────
   overflow-y eksplisit: overflow-x:auto memaksa overflow-y jadi auto dan
   bar tab bisa digulir vertikal tanpa diminta (CLAUDE.md §5.13). */
.hbt-info__tabs {
  display: flex; gap: 32px;
  border-bottom: 1px solid var(--hbt-info-line);
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
}
.hbt-info__tabs::-webkit-scrollbar { display: none; }

/* Tema Hello memberi semua <button> garis + teks #c36 dan latar #c36 saat
   :hover/:focus. Keempat keadaan dinyatakan sendiri. */
.hbt-info__tab,
.hbt-info__tab:hover,
.hbt-info__tab:focus,
.hbt-info__tab:active {
  flex: none;
  min-height: 46px; margin-bottom: -1px; padding: 0 2px;
  border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  background: transparent;
  font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.3;
  color: var(--hbt-body); white-space: nowrap; cursor: pointer;
}
.hbt-info__tab:hover { color: var(--hbt-ink); }
.hbt-info__tab:focus { outline: none; }
.hbt-info__tab:focus-visible { outline: 2px solid var(--hbt-accent); outline-offset: 2px; }
.hbt-info__tab.is-active {
  color: var(--hbt-ink); font-weight: 600;
  border-bottom-color: var(--hbt-info-active);
}

/* ── Panel ─────────────────────────────────────────────────────────── */
.hbt-info__panel { display: flex; flex-direction: column; gap: 24px; }
/* display:flex di atas mengalahkan [hidden] bawaan peramban. */
.hbt-info__panel[hidden] { display: none; }
.hbt-info__panel:focus { outline: none; }
.hbt-info__panel:focus-visible { outline: 2px solid var(--hbt-accent); outline-offset: 6px; }

.hbt-info__date { margin: 0; font-size: 13.5px; color: var(--hbt-muted); }

/* Penanda isian draf ⟦…⟧ — sengaja mencolok supaya tidak terlewat. */
.hbt-info__todo {
  background: #FFE9A8; color: #5C4300;
  border-radius: 3px; padding: 0 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ── Kartu kontak & kartu info ─────────────────────────────────────── */
.hbt-info__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hbt-info__card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px;
  border: 1px solid var(--hbt-border); border-radius: 14px;
  background: #fff;
}
.hbt-info__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--hbt-accent) 10%, #fff);
  color: var(--hbt-accent);
}
.hbt-info__card-text { display: flex; flex-direction: column; gap: 4px; }
.hbt-info__label { font-size: 13px; color: var(--hbt-muted); }
.hbt-info__value { font-size: 17px; font-weight: 600; color: var(--hbt-ink); overflow-wrap: anywhere; }
.hbt-info__note { font-size: 14px; color: var(--hbt-body); }

/* Kelas digandakan: Theme Style → Link (.elementor-kit-6 a, 0,1,1). */
.hbt-info__btn.hbt-info__btn {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 16px; box-sizing: border-box;
  border: 1px solid #E2E2DE; border-radius: var(--hbt-pill);
  background: #fff; color: var(--hbt-ink);
  font-size: 15px; font-weight: 500; text-decoration: none; text-align: center;
  transition: border-color .15s ease, background-color .15s ease;
}
.hbt-info__btn.hbt-info__btn:hover { border-color: var(--hbt-ink); }
/* Tombol utama hijau aksen, bukan hitam — situs ini tidak memakai tombol hitam
   (permintaan pemilik 11 Nov 2026). Hover sedikit lebih gelap, sama dengan
   tombol Masuk dan keranjang. */
.hbt-info__btn.hbt-info__btn.is-primary { background: var(--hbt-accent); border-color: var(--hbt-accent); color: #fff; }
.hbt-info__btn.hbt-info__btn.is-primary:hover {
  background: color-mix(in srgb, var(--hbt-accent) 82%, #000);
  border-color: color-mix(in srgb, var(--hbt-accent) 82%, #000);
}

.hbt-info__boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hbt-info__box {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px;
  border-radius: 14px;
  background: var(--hbt-surface);
}
.hbt-info__box-title { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--hbt-ink); }
.hbt-info__pairs { margin: 0; display: flex; flex-direction: column; }
.hbt-info__pair {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--hbt-border);
  font-size: 14px;
}
.hbt-info__pair:first-child { padding-top: 0; }
.hbt-info__pair:last-child { border-bottom: 0; padding-bottom: 0; }
.hbt-info__pair dt { flex: none; margin: 0; color: var(--hbt-body); font-weight: 400; }
.hbt-info__pair dd { margin: 0; color: var(--hbt-ink); font-weight: 500; text-align: right; }

/* ── Tabel ────────────────────────────────────────────────────────────
 * Reset tema Hello menulis garis 1px di tiap sel, zebra, dan warna hover:
 *   table thead:first-child tr:first-child th   (0,2,4)
 *   table tbody>tr:nth-child(odd)>td            (0,1,4)
 * Selektor di bawah (0,3,2)/(0,2,2) sengaja di atasnya, tanpa !important.
 */
.hbt-info__table-wrap {
  overflow-x: auto; overflow-y: hidden;
  border: 1px solid var(--hbt-info-line); border-radius: 10px;
}
.hbt-info__table {
  width: 100%; margin: 0;
  border-collapse: collapse;
  font-size: 14.5px; line-height: 1.55;
}
.hbt-info .hbt-info__table.hbt-info__table th,
.hbt-info .hbt-info__table.hbt-info__table td {
  padding: 12px 16px;
  border: 0; border-bottom: 1px solid var(--hbt-info-line);
  background: transparent;
  text-align: left; vertical-align: top;
}
.hbt-info .hbt-info__table.hbt-info__table thead th {
  background: var(--hbt-info-th);
  color: var(--hbt-ink); font-weight: 600;
}
.hbt-info .hbt-info__table.hbt-info__table tbody th {
  width: 32%;
  color: var(--hbt-ink); font-weight: 500;
}
.hbt-info .hbt-info__table.hbt-info__table tbody td { color: var(--hbt-body); }
.hbt-info .hbt-info__table.hbt-info__table tbody tr:last-child > * { border-bottom: 0; }
.hbt-info .hbt-info__table a { color: var(--hbt-accent); font-weight: 500; }
.hbt-info .hbt-info__table a:hover { color: var(--hbt-ink); }

/* ── Teks dari editor Elementor ────────────────────────────────────── */
.hbt-info__content { display: flex; flex-direction: column; gap: 10px; }
.hbt-info__content h2 { margin: 12px 0 0; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--hbt-ink); }
.hbt-info__content h2:first-child { margin-top: 0; }
.hbt-info__content p,
.hbt-info__content li { margin: 0; font-size: 15px; line-height: 1.75; color: var(--hbt-body); }
.hbt-info__content ul,
.hbt-info__content ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 4px; }
.hbt-info .hbt-info__content a { color: var(--hbt-accent); }

/* ── Ponsel ────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hbt-info { gap: 20px; }
  .hbt-info__title { font-size: 26px; }
  /* Tanpa margin negatif: padding container berbeda per halaman (Contact
     memakai container 90%), dan -10px membuat halaman bisa digeser ke
     samping 10px — terukur di staging 3 Okt 2026. */
  .hbt-info__tabs { gap: 22px; }
  .hbt-info__tab, .hbt-info__tab:hover, .hbt-info__tab:focus, .hbt-info__tab:active { font-size: 14.5px; }
  .hbt-info__cards,
  .hbt-info__boxes { grid-template-columns: minmax(0, 1fr); }
  .hbt-info__table { font-size: 14px; }
  .hbt-info .hbt-info__table.hbt-info__table th,
  .hbt-info .hbt-info__table.hbt-info__table td { padding: 11px 12px; }
  .hbt-info .hbt-info__table.hbt-info__table tbody th { width: 38%; }
}
