/* ============================================================
   BRUTALIST DESIGN SYSTEM — gaya "Hungry Delete" (referensi)
   Dipakai oleh: index.php (beranda) dan pesanan-saya.php (member).
   Halaman lain tetap memakai Tailwind bawaan masing-masing.
   ============================================================ */

:root {
  --paper: #efe8d8;
  --paper-2: #fffaf0;
  --ink: #14141a;
  --lime: #c8ff3a;
  /* Biru merek, diambil dari logo "BerkahMulia". */
  --brand: #2c41a8;
  --brand-bright: #3d5be0;
  --brand-soft: #e7ebf8;
  /* Varian terang untuk teks di atas latar ink (footer). */
  --brand-on-dark: #93a8ff;
  --blue: var(--brand);
  --pink: #ff3d8b;
  --orange: #ff8a1f;
  --e: cubic-bezier(.16, 1, .3, 1);
  --bw: 3px;
  --bw-thick: 4px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-lg: 9px 9px 0 var(--ink);
}

/* ---------- RESET SCOPED ---------- */
body.brutal {
  margin: 0; /* reset wajib: tanpa ini body bawaan browser 8px dan footer
                terlihat meleset ke kanan dengan garis tipis di kiri. */
  background: var(--paper);
  color: var(--ink);
  font-family: "Bricolage Grotesque", ui-rounded, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(20, 20, 26, .16) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}
body.brutal * { box-sizing: border-box; }
/* Tanpa reset ini, link memakai warna bawaan browser: yang belum dibuka biru
   dan yang sudah dibuka ungu.
   PENTING: :link dan :visited adalah pseudo-CLASS, jadi ikut menambah kolom
   kelas. Karena itu selector HARUS dibungkus :where() seluruhnya, kalau tidak
   reset ini justru menimpa .bh-link dan .an-cta. Dengan :where() spesifisitasnya
   nol, sehingga kelas warna mana pun selalu menang. */
:where(body.brutal) :where(a, a:link, a:visited) { color: inherit; }
:where(body.brutal) :where(a) { text-decoration: none; }

/* ---------- TIPOGRAFI ---------- */
.bt-kick {
  display: block; text-align: center;
  font: 700 13px/1 system-ui, sans-serif;
  letter-spacing: .22em; text-transform: uppercase; opacity: .55;
}
.bt-title {
  font-size: clamp(40px, 9vw, 76px);
  line-height: .95; font-weight: 800; letter-spacing: -3px;
  margin: 0;
}
.bt-h2 {
  font-size: clamp(26px, 4.5vw, 42px);
  line-height: 1; font-weight: 800; letter-spacing: -1.5px; margin: 0;
}
.bt-h3 { font-size: 20px; font-weight: 800; letter-spacing: -.5px; margin: 0; }
.bt-lead { font: 600 17px/1.4 system-ui, sans-serif; opacity: .72; }

/* Stiker: highlight lime miring dengan outline hitam — elemen signature gaya ini. */
.bt-sticker {
  background: var(--lime); color: var(--ink);
  padding: 0 14px; border: var(--bw-thick) solid var(--ink); border-radius: 18px;
  display: inline-block; transform: rotate(-2.5deg); box-shadow: var(--shadow);
  font-style: normal;
}
.bt-sticker.blue { background: var(--blue); color: #fff; }
.bt-sticker.pink { background: var(--pink); color: #fff; }
.bt-sticker.sm { padding: 0 10px; border-width: 3px; border-radius: 14px; box-shadow: var(--shadow-sm); }

/* ---------- CARD ---------- */
.bt-card {
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}
.bt-card.flat { box-shadow: none; }
.bt-card.sm { border-radius: 18px; box-shadow: var(--shadow); }
.bt-pad { padding: 22px; }
@media (min-width: 768px) { .bt-pad { padding: 32px; } }

/* ---------- TOMBOL ---------- */
.bt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 800 16px/1 "Bricolage Grotesque", system-ui, sans-serif;
  padding: 15px 24px; border-radius: 99px;
  border: var(--bw) solid var(--ink); background: var(--paper-2); color: var(--ink);
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform .12s var(--e), box-shadow .12s var(--e), background .15s;
}
.bt-btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.bt-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.bt-btn:focus-visible { outline: 3px dashed var(--ink); outline-offset: 4px; }
.bt-btn.lime { background: var(--lime); }
.bt-btn.blue { background: var(--blue); color: #fff; }
.bt-btn.pink { background: var(--pink); color: #fff; }
.bt-btn.orange { background: var(--orange); }
.bt-btn.ink { background: var(--ink); color: var(--lime); }
.bt-btn.sm { font-size: 14px; padding: 11px 18px; box-shadow: var(--shadow-sm); }
.bt-btn.lg { font-size: 19px; padding: 18px 32px; box-shadow: var(--shadow-lg); }

/* ---------- CHIP / TAG ---------- */
.bt-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 13px/1 system-ui, sans-serif;
  padding: 9px 15px; border-radius: 99px;
  border: var(--bw) solid var(--ink); background: var(--paper-2);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.bt-chip.lime { background: var(--lime); }
.bt-chip.blue { background: var(--blue); color: #fff; }
.bt-chip.ink { background: var(--ink); color: var(--lime); }
.bt-chip.plain { box-shadow: none; }

/* ---------- LABEL KECIL ---------- */
.bt-label {
  display: block; font: 700 12px/1 system-ui, sans-serif;
  letter-spacing: .16em; text-transform: uppercase; opacity: .5;
}

/* ---------- GRID & SLIDER ---------- */
.bt-grid { display: grid; gap: 22px; }
.bt-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bt-g3 { grid-template-columns: 1fr; }
.bt-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bt-g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .bt-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .bt-g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.bt-row { display: flex; flex-wrap: wrap; gap: 14px; }
.bt-scroll {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 6px;
}
.bt-scroll > * { scroll-snap-align: start; flex: none; width: 250px; }
.bt-scroll::-webkit-scrollbar { display: none; }
.bt-scroll { scrollbar-width: none; }

/* ---------- HERO SLIDER ---------- */
.bt-hero {
  position: relative; width: 100%; height: 300px; overflow: hidden;
  background: var(--ink); border: var(--bw-thick) solid var(--ink);
  border-radius: 26px; box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .bt-hero { height: 430px; } }
.bt-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease-in-out; pointer-events: none; }
.bt-slide.active { opacity: 1; pointer-events: auto; }
.bt-slide a { display: block; width: 100%; height: 100%; }
.bt-slide img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- KARTU PRODUK ---------- */
.bt-prod {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper-2); border: var(--bw) solid var(--ink);
  border-radius: 22px; box-shadow: var(--shadow);
  transition: transform .14s var(--e), box-shadow .14s var(--e);
}
.bt-prod:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.bt-prod-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--bw) solid var(--ink); background: #ddd6c4; }
.bt-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.bt-flag {
  position: absolute; top: 12px; left: 12px;
  font: 800 12px/1 "Bricolage Grotesque", sans-serif;
  padding: 7px 12px; border-radius: 99px;
  border: 3px solid var(--ink); background: var(--paper-2);
}
.bt-flag.right { left: auto; right: 12px; background: var(--pink); color: #fff; }

/* ---------- TILE KATEGORI ---------- */
.bt-tile {
  display: block; padding: 22px; color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: 22px;
  box-shadow: var(--shadow); background: var(--paper-2);
  transition: transform .14s var(--e), box-shadow .14s var(--e);
}
.bt-tile:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.bt-tile .bt-label { opacity: .55; }
.bt-tile h3 { font-size: 19px; font-weight: 800; line-height: 1.1; margin: 6px 0 4px; letter-spacing: -.4px; }

/* ---------- NOTIFIKASI FLASH ---------- */
.bt-flash {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 20px; margin: 18px auto 0; max-width: 1240px;
  border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-sm);
  font: 600 14px/1.5 system-ui, sans-serif;
}
.bt-flash.success { background: var(--lime); }
.bt-flash.error { background: var(--pink); color: #fff; }

/* ---------- TABLE / BARIS DATA ---------- */
.bt-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.bt-track { display: flex; gap: 6px; margin-top: 22px; }
.bt-track > div { flex: 1; }
.bt-seg { height: 10px; border: 2px solid var(--ink); background: #ded7c6; border-radius: 99px; }
.bt-seg.on { background: var(--lime); }

/* ---------- HEADER BRUTAL ---------- */
.bh-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: var(--bw-thick) solid var(--ink);
}
.bh-bar {
  max-width: 1240px; margin: 0 auto; padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.bh-logo { display: flex; align-items: center; gap: 11px; }
.bh-mark {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: var(--lime); border: var(--bw) solid var(--ink); border-radius: 13px;
  box-shadow: var(--shadow-sm);
}
.bh-name { font-size: 19px; font-weight: 800; letter-spacing: -.6px; line-height: 1.1; }
.bh-tag { font: 700 11px/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.bh-nav { display: none; gap: 8px; }
@media (min-width: 900px) { .bh-nav { display: flex; } }
/* Nav: biru merek pada TULISAN, tombol tetap kertas (tidak biru solid). */
.bh-link {
  font: 800 15px/1 "Bricolage Grotesque", sans-serif;
  color: var(--brand);
  padding: 11px 18px; border-radius: 99px; border: var(--bw) solid var(--ink);
  background: var(--paper-2); box-shadow: var(--shadow-sm);
  transition: transform .12s var(--e), box-shadow .12s var(--e), background .15s;
}
.bh-link:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--lime); }
.bh-link.on { background: var(--lime); box-shadow: var(--shadow); }
.bh-user { display: flex; align-items: center; gap: 9px; font: 700 13px/1.2 system-ui, sans-serif; }
.bh-ava {
  width: 38px; height: 38px; border-radius: 99px; flex: none;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  border: var(--bw) solid var(--ink); font-weight: 800; font-size: 14px;
}
.bh-out { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: var(--bw) solid var(--ink); background: var(--paper-2); }

/* Tambahan untuk header admin (pakai header brutalist juga).
   Prefix bhd- dipakai supaya tidak bentrok dengan .bh-* milik publik. */
.bhd-wrap { position: relative; }
.bhd-trigger { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.bhd-chev { transition: transform .15s var(--e); }
.bhd-wrap:hover .bhd-chev, .bhd-wrap:focus-within .bhd-chev { transform: rotate(180deg); }
.bhd-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 250px;
  padding: 7px; background: var(--paper); border: var(--bw-thick) solid var(--ink);
  border-radius: 14px; box-shadow: 6px 6px 0 var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .14s var(--e), transform .14s var(--e), visibility .14s;
}
.bhd-wrap:hover .bhd-menu, .bhd-wrap:focus-within .bhd-menu {
  opacity: 1; visibility: visible; transform: none;
}
.bhd-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 9px;
  font: 700 13.5px/1.2 system-ui, sans-serif; color: var(--ink);
}
.bhd-item:hover { background: var(--lime); }
.bhd-item.on { background: var(--lime); box-shadow: inset 0 0 0 2px var(--ink); }
.bhd-item svg { width: 16px; height: 16px; flex: none; opacity: .65; }
.bhd-item:hover svg, .bhd-item.on svg { opacity: 1; }

/* Ikon bulat + lonceng notifikasi */
.bh-ico {
  width: 36px; height: 36px; display: grid; place-items: center; position: relative;
  border-radius: 11px; border: var(--bw) solid var(--ink); background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}
.bh-ico:hover { background: var(--lime); }
/* Ikon WhatsApp hanya muncul di layar kecil, seperti sebelumnya di header glass. */
.bhd-wa { display: none; }
@media (max-width: 899px) { .bhd-wa { display: grid; } }
.bh-badge {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px;
  padding: 0 5px; display: grid; place-items: center;
  background: var(--pink); color: #fff; border: 2px solid var(--ink); border-radius: 99px;
  font: 800 10px/1 system-ui, sans-serif;
}
/* Nama + peran di sebelah avatar */
.bh-id { display: none; line-height: 1.2; }
.bh-id .n { display: block; font: 800 13px/1.2 system-ui, sans-serif; color: var(--ink); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-id .r { display: block; font: 700 10px/1.2 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
@media (min-width: 1080px) { .bh-id { display: block; } }

/* ---------- FOOTER BRUTAL ---------- */
/* Footer publik memakai biru brand yang sama dengan navigasi. Sebelumnya
   masih --ink (hitam) padahal footer admin sudah royal blue, jadi keduanya
   tidak sama padahal yang sama sudah pernah diminta. */
.bf-foot { background: var(--brand); color: #eef2ff; margin-top: 70px; border-top: var(--bw-thick) solid var(--ink); }
.bf-in { max-width: 1240px; margin: 0 auto; padding: 30px 18px 20px; }
.bf-h { font: 800 13px/1 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin: 0 0 12px; }
/* Empat kolom di layar lebar, dua di tablet, satu di HP. */
.bf-g4 { display: grid; gap: 18px 26px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .bf-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .bf-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Link di footer perlu kontras tinggi di atas biru brand. --brand-on-dark
   terlalu redup untuk #2c41a8, jadi dipakai putih dengan hover lime. */
.bf-link { display: inline-block; font: 600 14px/2.1 system-ui, sans-serif; }
a.bf-link { color: #eaf0ff; }
a.bf-link:hover { color: var(--lime); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* Kontak bukan link, jadi tidak biru dan tidak digarisbawahi saat hover. */
.bf-plain, span.bf-link { color: #eaf0ff; }

/* Tombol CTA footer. Sengaja terpisah dari .bt-chip karena .bt-chip tidak
   menyetel color, sehingga teksnya ikut warna link dan tidak terbaca. */
.bf-cta {
  display: flex; align-items: center; justify-content: center;
  padding: 11px 18px; margin-bottom: 9px;
  border: 3px solid var(--ink); border-radius: 99px;
  background: var(--lime); color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font: 800 14px/1 system-ui, sans-serif;
  transition: transform .12s ease, box-shadow .12s ease;
}
.bf-cta.alt { background: #fff; }
.bf-cta:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.bf-cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.bf-bot { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 600 12px/1.5 system-ui, sans-serif; opacity: .8; }

/* ---------- HALAMAN (katalog, detail produk) ---------- */
.bpage { padding: 30px 0 40px; }
.bpage-head { text-align: center; margin-bottom: 30px; }
.bcrumb { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font: 700 12px/1 system-ui, sans-serif; opacity: .6; margin-bottom: 22px; }
.bcrumb a { opacity: .85; }
.bcrumb a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.bcrumb i { flex: none; }

/* Kolom form brutalist */
.bin {
  width: 100%; min-height: 3rem; padding: .7rem .9rem;
  border: var(--bw) solid var(--ink); border-radius: 14px;
  background: var(--paper-2); font: 600 15px/1.3 "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--ink); box-shadow: var(--shadow-sm);
}
.bin:focus { outline: none; box-shadow: 4px 4px 0 var(--ink); background: #fff; }
.bin::placeholder { opacity: .45; }
textarea.bin { min-height: 6rem; resize: vertical; }
select.bin { cursor: pointer; }

/* Baris label + kontrol */
.bfield { margin-bottom: 18px; }
.bfield > .bt-label { margin-bottom: 7px; }

/* ---------- PILIHAN RADIO (bahan / finishing) ---------- */
.b-opt {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; cursor: pointer;
  border: var(--bw) solid var(--ink); border-radius: 15px;
  background: var(--paper-2); box-shadow: var(--shadow-sm);
  transition: transform .12s var(--e), background .15s, box-shadow .12s;
}
.b-opt:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.b-opt input { accent-color: var(--ink); width: 19px; height: 19px; flex: none; }
.b-opt-txt { flex: 1; font: 700 15px/1.3 "Bricolage Grotesque", system-ui, sans-serif; }
.b-opt-extra { font: 800 12px/1 system-ui, sans-serif; color: var(--orange); white-space: nowrap; }
.b-opt.on { background: var(--lime); box-shadow: var(--shadow); }
/* Memilih opsi langsung menandainya tanpa perlu JavaScript. */
.b-opt:has(> input:checked) { background: var(--lime); box-shadow: var(--shadow); }
.b-opt.fin { padding: 12px 16px; border-radius: 99px; }
.b-opt.fin.on { background: var(--lime); }

/* ---------- TABEL HARGA ---------- */
.b-tbl { width: 100%; border-collapse: collapse; font: 700 15px/1.3 "Bricolage Grotesque", system-ui, sans-serif; }
.b-tbl th {
  padding: 11px 14px; text-align: left;
  font: 800 11px/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--lime);
}
.b-tbl th:last-child { text-align: right; }
.b-tbl td { padding: 11px 14px; border-bottom: 2px solid rgba(20, 20, 26, .18); }
.b-tbl td:last-child { text-align: right; }
.b-tbl tbody tr:last-child td { border-bottom: 0; }
.b-tbl tbody tr.on { background: var(--lime); }
.b-tbl tbody tr.on td:last-child { color: var(--ink); }

/* ---------- TOMBOL STEPSIZE QTY ---------- */
.b-step {
  width: 52px; flex: none; display: grid; place-items: center;
  font: 800 22px/1 "Bricolage Grotesque", system-ui, sans-serif;
  border: var(--bw) solid var(--ink); border-radius: 15px;
  background: var(--paper-2); box-shadow: var(--shadow-sm); cursor: pointer;
}
.b-step:hover { background: var(--lime); }
.b-step:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.b-qty {
  flex: 1; min-width: 0; min-height: 3.25rem; text-align: center;
  font: 800 22px/1 "Bricolage Grotesque", system-ui, sans-serif;
  border: var(--bw) solid var(--ink); border-radius: 15px;
  background: var(--paper-2); box-shadow: var(--shadow-sm); color: var(--ink);
}
.b-qty:focus { outline: none; box-shadow: 4px 4px 0 var(--ink); background: #fff; }

.b-total {
  padding: 18px; border: var(--bw-thick) solid var(--ink); border-radius: 20px;
  background: var(--lime); box-shadow: var(--shadow);
}

/* ---------- STEPPER 3 LANGKAH ---------- */
.bs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bs-ind { display: flex; align-items: center; gap: 9px; }
.bs-dot {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border: var(--bw) solid var(--ink); border-radius: 99px;
  background: var(--paper-2); box-shadow: var(--shadow-sm);
}
.bs-lbl { font: 800 13px/1 system-ui, sans-serif; }
/* Label selalu tampil di layar lebar, disembunyikan di HP agar tidak berdesakan. */
@media (max-width: 767px) { .bs-lbl { display: none; } }
.bs-line { flex: 1; min-width: 26px; height: 4px; border-radius: 99px; background: rgba(20, 20, 26, .2); }
/* State di-set oleh showStep() di order.php */
.bs-ind.done .bs-dot, .bs-ind.now .bs-dot { background: var(--lime); }
.bs-ind.now .bs-dot { box-shadow: var(--shadow); }
.bs-ind.done .bs-dot svg, .bs-ind.now .bs-dot svg { color: var(--ink); }
.bs-line.done { background: var(--ink); }

/* ---------- KARTU PRODUK (grid di step 2) ---------- */
.b-pcard {
  display: flex; gap: 13px; width: 100%; text-align: left; cursor: pointer;
  padding: 13px; border: var(--bw) solid var(--ink); border-radius: 18px;
  background: var(--paper-2); box-shadow: var(--shadow-sm);
  transition: transform .12s var(--e), box-shadow .12s var(--e), background .15s;
}
.b-pcard:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.b-pcard.on { background: var(--lime); box-shadow: var(--shadow); }
.b-pcard-img { width: 76px; height: 76px; flex: none; object-fit: cover; border: 2px solid var(--ink); border-radius: 13px; background: #ddd6c4; }
.card-check {
  width: 26px; height: 26px; flex: none; align-self: center;
  display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 99px;
  background: transparent;
}
.card-check.on { background: var(--ink); color: var(--lime); }

/* ---------- DROPZONE UPLOAD ---------- */
.b-drop {
  display: block; padding: 34px 18px; text-align: center; cursor: pointer;
  border: var(--bw-thick) dashed var(--ink); border-radius: 22px;
  background: var(--paper-2); transition: background .15s, transform .12s var(--e);
}
.b-drop:hover { background: #fff; }
.b-drop.hot { background: var(--lime); transform: scale(1.01); }

/* ---------- DAFTAR FILE ---------- */
.b-file {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: 14px; background: var(--paper-2);
  font: 600 14px/1.3 system-ui, sans-serif;
}
.b-file-rm {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 9px; background: var(--pink); color: #fff; cursor: pointer;
}
.b-file-rm:hover { filter: brightness(1.08); }

/* ---------- DAFTAR KETERANGAN (label: nilai) ---------- */
.b-dl { margin-top: 18px; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; }
.b-dl > div {
  display: flex; gap: 12px; padding: 11px 14px;
  border-bottom: 2px solid rgba(20, 20, 26, .18);
}
.b-dl > div:last-child { border-bottom: 0; }
.b-dl dt { flex: none; width: 120px; opacity: .6; font: 700 14px/1.45 system-ui, sans-serif; }
.b-dl dd { margin: 0; min-width: 0; font-weight: 800; }
/* Di layar sangat sempit, label naik ke atas supaya nilai tidak terpotong. */
@media (max-width: 430px) {
  .b-dl > div { flex-direction: column; gap: 3px; }
  .b-dl dt { width: auto; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
}

/* ---------- TOMBOL GOOGLE ---------- */
.b-gbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 3rem; padding: .7rem 1rem;
  font: 800 15px/1.3 "Bricolage Grotesque", system-ui, sans-serif;
  border: var(--bw) solid var(--ink); border-radius: 99px;
  background: var(--paper-2); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .12s var(--e), box-shadow .12s var(--e);
}
.b-gbtn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }

/* ---------- GRID FORM ---------- */
.b-form-grid { display: grid; gap: 16px; }
.b-form-grid.two { grid-template-columns: 1fr; }
.b-form-grid.three { grid-template-columns: 1fr; }
@media (min-width: 640px) { .b-form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .b-form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- UTILITAS ---------- */
/* Halaman brutal tidak memuat Tailwind, jadi utility yang masih dipakai
   harus didefinisikan di sini. */
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- BARIS NOTIFIKASI ---------- */
.b-notif {
  padding: 15px; cursor: default;
  border: 2px solid var(--ink); border-radius: 18px; background: var(--paper-2);
  transition: transform .12s var(--e), box-shadow .12s var(--e);
}
.b-notif.link { cursor: pointer; }
.b-notif.link:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.b-notif.new { background: var(--lime); }

/* ---------- LAYOUT SPLIT (login/register) ---------- */
.lg-split { display: grid; gap: 0; }
.lg-pane {
  display: none;
  flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 46px 40px;
  background: var(--ink); color: var(--paper);
  border-bottom: var(--bw-thick) solid var(--ink);
}
.lg-form { display: flex; align-items: center; justify-content: center; padding: 30px 18px 44px; }
@media (min-width: 900px) {
  .lg-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .lg-pane { display: flex; }
}

/* ---------- IKLAN / PENGUMUMAN (dapat ditutup) ---------- */
/* position:relative supaya tombol X bisa ditempatkan absolut di pojok kanan atas. */
.an {
  position: relative;
  background: var(--ink); color: var(--paper);
  border-bottom: var(--bw-thick) solid var(--ink);
}
.an-in {
  max-width: 1240px; margin: 0 auto;
  /* ruang kanan dikosongkan untuk tombol X */
  padding: 12px 58px 12px 18px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; text-align: center;
}
.an-ico { flex: none; color: var(--lime); }
.an-txt { font: 700 14px/1.5 system-ui, sans-serif; }
.an-txt strong { color: var(--lime); font-weight: 800; }
.an-cta {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font: 800 12px/1 system-ui, sans-serif; padding: 9px 15px; border-radius: 99px;
  background: var(--lime); color: var(--ink); border: 2px solid var(--lime);
  transition: background .15s, border-color .15s;
}
.an-cta:hover { background: #fff; border-color: #fff; }
/* Tombol X di pojok kanan atas iklan, bukan ikut alur teks. */
.an-x {
  position: absolute; top: 8px; right: 12px;
  width: 30px; height: 30px;
  display: grid; place-items: center; padding: 0;
  border-radius: 99px; border: 2px solid rgba(239, 232, 216, .5);
  background: rgba(239, 232, 216, .08); color: var(--paper); cursor: pointer;
  font: 800 18px/1 system-ui, sans-serif;
  transition: background .15s, border-color .15s, color .15s;
}
.an-x:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.an-x:focus-visible { outline: 3px dashed var(--lime); outline-offset: 2px; }
@media (max-width: 560px) {
  .an-in { padding: 12px 48px 12px 14px; gap: 8px; }
  .an-ico { display: none; }
}

/* ---------- NAV BAWAH (KHUSUS MOBILE) ---------- */
/* .bh-nav disembunyikan di layar kecil, jadi navigasi utama pindah ke sini. */
.bn { display: block; }
@media (min-width: 900px) { .bn { display: none; } }
@media (max-width: 899px) { body.brutal { padding-bottom: 74px; } }

.bn-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--paper); border-top: var(--bw-thick) solid var(--ink);
  padding: 7px 6px calc(7px + env(safe-area-inset-bottom, 0px));
}
.bn-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 7px 2px; margin: 0 2px;
  border: 3px solid transparent; border-radius: 14px;
  font: 800 10px/1 system-ui, sans-serif; color: var(--ink); background: none; cursor: pointer;
}
.bn-item svg { width: 20px; height: 20px; }
.bn-item.on { background: var(--lime); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.bn-item:active { transform: translateY(1px); }

/* ---------- SCROLL REVEAL ---------- */
.bt-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--e), transform .5s var(--e); }
.bt-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .bt-reveal { opacity: 1; transform: none; transition: none; }
  .bt-btn:hover, .bt-prod:hover, .bt-tile:hover, .bh-link:hover { transform: none; }
}