/* Halaman Produk: katalog + keranjang */
.toko { padding: clamp(130px, 15vw, 190px) 0 clamp(90px, 10vw, 140px); background: var(--bg); min-height: 100vh; }
.saring { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.saring button {
  padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(244, 236, 211, 0.22); background: rgba(6, 23, 14, 0.6);
  color: rgba(244, 236, 211, 0.8); font: 600 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}
.saring button.on { background: var(--cream); color: var(--bg); border-color: var(--cream); }

.etalase-produk { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.etalase-produk > li { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: #0c2417; border: 1px solid var(--line); }
.etalase-produk .wm img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.etalase-produk .kosong { padding: 30px; color: var(--muted); }
.pr-isi { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pr-isi h3 { font-weight: 800; font-stretch: 110%; font-size: 19px; line-height: 1.15; }
.pr-isi > p { font-size: 14px; color: var(--muted); }
.pr-isi .pr-harga { margin-top: auto; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--cream); }
.pr-harga small { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.pr-ukuran { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-ukuran button { padding: 7px 12px; border-radius: 6px; border: 1px solid rgba(244, 236, 211, 0.22); background: none; color: var(--cream); font: 600 13px/1 var(--sans); cursor: pointer; }
.pr-ukuran button.on { border-color: var(--copper); background: rgba(217, 163, 33, 0.18); color: #fff; }
.pr-beli { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.pr-beli .tambah { flex: 1; text-align: center; cursor: pointer; border: 0; }
.pr-beli .tambah.ok { background: #2f6b3a; }
.jumlah { display: inline-flex; align-items: center; border: 1px solid rgba(244, 236, 211, 0.22); border-radius: 999px; }
.jumlah button { width: 36px; height: 38px; border: 0; background: none; color: var(--cream); font-size: 18px; cursor: pointer; }
.jumlah output { min-width: 22px; text-align: center; font-weight: 700; }
.jumlah.kecil button { width: 30px; height: 32px; }

.tbl-keranjang {
  position: fixed; right: var(--g); bottom: 22px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px; border: 0; cursor: pointer; background: var(--cream); color: var(--bg);
  font: 700 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.tbl-keranjang svg { width: 20px; height: 20px; }
.tbl-keranjang b { min-width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; background: var(--marun); color: var(--cream); font-size: 12px; }
.tbl-keranjang.denyut { animation: denyut 0.5s var(--spring, ease); }
@keyframes denyut { 50% { transform: scale(1.12); } }

.tirai { position: fixed; inset: 0; z-index: 44; background: rgba(2, 9, 5, 0.6); }
.keranjang {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 45; width: min(440px, 100%); display: flex; flex-direction: column;
  background: #0b2115; border-left: 1px solid var(--line); transform: translateX(100%); transition: transform 0.45s var(--ease-out, ease);
  overflow-y: auto; visibility: hidden;
}
.keranjang.buka { transform: none; visibility: visible; }
.kunci { overflow: hidden; }
.k-kepala { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #0b2115; z-index: 1; }
.k-kepala h2 { font-family: var(--serif); text-transform: none; font-weight: 700; font-size: 30px; font-stretch: normal; }
.k-tutup { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--cream); font-size: 24px; cursor: pointer; }
.k-isi { list-style: none; margin: 0; padding: 8px 22px; }
.k-isi li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.k-isi img { width: 64px; height: 48px; object-fit: contain; background: #fff; border-radius: 4px; }
.k-isi b { display: block; font-size: 15px; }
.k-isi small { color: var(--muted); font-size: 13px; }
.k-kosong { padding: 30px 22px; color: var(--muted); }
.k-form { padding: 10px 22px 28px; display: grid; gap: 14px; }
.k-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.k-total b { font-family: var(--serif); font-size: 26px; }
.k-catatan-harga { font-size: 13px; color: var(--muted); margin-top: -8px; }
.k-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.k-form input, .k-form textarea, .k-form select {
  font: 400 15px/1.4 var(--sans); color: var(--cream); background: #06170e; border: 1px solid rgba(244, 236, 211, 0.2); border-radius: 6px; padding: 11px 12px;
}
.k-form .k-kirim { border: 0; cursor: pointer; padding: 16px; font-size: 15px; background: #1f8a4c; }
.k-form .k-kirim:hover { background: #24a05a; }
@media (max-width: 600px) {
  .etalase-produk { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pr-isi { padding: 12px; }
  .pr-isi h3 { font-size: 16px; }
  .pr-isi > p { display: none; }
  .pr-beli { flex-direction: column; align-items: stretch; }
  .pr-beli .jumlah { justify-content: space-between; }
  .pr-beli .tambah { padding: 11px 8px; font-size: 13px; }
}

/* alamat di keranjang */
.k-tamu { padding: 12px 14px; border-radius: 8px; background: rgba(217, 163, 33, 0.12); border: 1px solid rgba(217, 163, 33, 0.35); font-size: 14px; }
.k-tamu a { color: var(--copper); font-weight: 700; }
.k-pilih-alamat { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.k-pilih-alamat legend { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
#k-alamat-list { display: grid; gap: 8px; }
.k-form .k-opsi { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 8px; border: 1px solid rgba(244, 236, 211, 0.18); cursor: pointer; }
.k-opsi:has(input:checked) { border-color: var(--copper); background: rgba(217, 163, 33, 0.1); }
.k-opsi input { margin-top: 3px; accent-color: var(--copper); }
.k-opsi b { display: block; font-size: 14px; color: var(--cream); }
.k-opsi small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); font-weight: 400; }
.k-manual { display: grid; gap: 14px; }
.k-form .k-simpan { display: flex; align-items: center; gap: 8px; color: var(--cream); font-weight: 500; }
.k-simpan input { width: 18px; height: 18px; accent-color: var(--copper); }
.k-form .titik { display: grid; gap: 8px; }
.k-form .label-titik { font-size: 13px; font-weight: 600; color: var(--muted); }
.k-form .label-titik span { font-weight: 400; }
.k-form .pp-peta { height: 220px; }
