:root {
  --red: #E11B22;
  --red-dark: #B8141A;
  --ink: #17171A;
  --muted: #5F6066;
  --line: #E3E3E7;
  --band: #F4F4F5;
  --blush: #FCE9EA;
  --white: #fff;
  --wa: #128C4B;
  --radius: 18px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

/* Bar pengumuman */
.promo {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  padding: 9px 16px;
}

/* Header */
.top { background: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 22px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 54px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; padding-left: 14px; border-left: 2px solid var(--line); line-height: 1.9; }

.search { flex: 1; position: relative; min-width: 0; }
.search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--band);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px 12px 48px;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--ink); background: #fff; }

.top-links { display: flex; gap: 22px; flex: none; }
.top-links a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.top-links a:hover { color: var(--red); }

.cart-btn { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; }
.cart-btn:hover { border-color: var(--ink); }
.cart-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }

/* Chip kategori */
.chips-band { background: var(--band); }
.chips { display: flex; gap: 10px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
  font-weight: 700; font-size: .95rem;
  white-space: nowrap;
}
.chip svg { width: 20px; height: 20px; flex: none; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { padding: 15px 28px; font-size: 1.08rem; border-radius: 14px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { background: #fff; border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--red-dark); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; width: 100%; }
.btn-wa:hover { background: #0C6E3A; }
.btn-teks { background: none; border: 0; padding: 8px; color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; align-self: center; }
.btn-teks:hover { color: var(--red-dark); }

/* Hero */
.hero {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}
.hero-text { padding: clamp(28px, 3.6vw, 52px); align-self: center; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.1rem, 4.1vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hero p { margin-top: 16px; color: var(--muted); font-size: 1.06rem; max-width: 42ch; }
.hero .btn { margin-top: 26px; }
.hero-art {
  background: var(--blush);
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  display: grid; place-items: center;
  min-height: 300px;
  padding: 10px 14px 10px 11%;
}
.hero-art img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }

/* Produk */
.produk { padding-block: 44px 20px; scroll-margin-top: 90px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
h2 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1.15; }
.section-head p { color: var(--muted); font-size: .95rem; }

.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.kartu {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.kartu-foto { position: relative; display: block; background: var(--band); aspect-ratio: 1 / 1; }
.kartu-foto { overflow: hidden; }
.kartu-foto img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.04); mix-blend-mode: multiply; }
.berat { position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff; font-weight: 800; font-size: .85rem; padding: 4px 10px; border-radius: 8px; }
.kartu-isi { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.kartu h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.kartu .ket { color: var(--muted); font-size: .9rem; }
.harga { color: var(--red); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; margin-top: 6px; }
.harga small { color: var(--muted); font-weight: 600; font-size: .82rem; letter-spacing: 0; }
.kartu-aksi { margin-top: auto; padding-top: 12px; }
.kartu-aksi .btn { width: 100%; }

.stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; border: 1.5px solid var(--red); border-radius: 12px; overflow: hidden; }
.stepper button { height: 43px; border: 0; background: #fff; color: var(--red); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.stepper button:hover { background: var(--blush); }
.stepper output { text-align: center; font-weight: 800; }

.kosong { text-align: center; padding: 48px 16px; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.kosong p { color: var(--muted); margin-bottom: 16px; }

/* Cara pesan */
.langkah { padding-block: 52px; scroll-margin-top: 80px; }
.langkah ol { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.langkah li { background: var(--band); border-radius: var(--radius); padding: 24px; }
.langkah .no { display: block; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--red); letter-spacing: -.03em; }
.langkah h3 { font-size: 1.15rem; font-weight: 800; margin-top: 14px; }
.langkah p { color: var(--muted); margin-top: 6px; font-size: .97rem; }


/* Footer */
.foot { background: #fff; border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: 26px; }
.foot .brand img { height: 44px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.foot nav a:hover { color: var(--red); }
.copy { margin-left: auto; color: var(--muted); font-size: .9rem; }

/* Laci keranjang */
.tirai { position: fixed; inset: 0; background: rgba(23, 23, 26, .45); z-index: 40; }
.laci {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(430px, 100%);
  background: #fff;
  z-index: 41;
  display: flex; flex-direction: column;
  box-shadow: -18px 0 50px rgba(23, 23, 26, .18);
  animation: masuk .22s ease-out;
}
@keyframes masuk { from { transform: translateX(40px); opacity: 0; } }
.laci:focus { outline: none; }
.laci-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.laci-head h2 { font-size: 1.35rem; }
.ikon { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; }
.ikon:hover { border-color: var(--ink); }
.ikon svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; fill: none; }
.laci-isi { flex: 1; overflow-y: auto; padding: 8px 20px; }
.laci-kosong { text-align: center; padding: 56px 12px; color: var(--muted); }
.laci-kosong strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }
.baris { display: grid; grid-template-columns: 68px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.baris-foto { background: var(--band); border-radius: 12px; aspect-ratio: 1/1; overflow: hidden; }
.baris-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.baris h3 { font-size: 1rem; font-weight: 800; line-height: 1.3; }
.baris .satuan { color: var(--muted); font-size: .88rem; }
.baris-bawah { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.baris-bawah .stepper { grid-template-columns: 36px 40px 36px; border-color: var(--line); }
.baris-bawah .stepper button { height: 34px; color: var(--ink); font-size: 1.1rem; }
.baris-bawah strong { font-weight: 800; }
.laci-kaki { border-top: 1px solid var(--line); padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.total strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.catatan { color: var(--muted); font-size: .88rem; }

/* Bar keranjang di ponsel */
.bar-keranjang {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  background: var(--ink); color: #fff;
  border: 0; border-radius: 14px;
  padding: 14px 18px;
  font-weight: 800;
  justify-content: space-between; align-items: center;
  box-shadow: 0 10px 30px rgba(23, 23, 26, .3);
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 20px;
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 12px;
  font-weight: 700; font-size: .95rem;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, translate .2s;
  z-index: 60; max-width: calc(100% - 32px); text-align: center;
}
.toast.tampil { opacity: 1; translate: -50% 0; }

/* Layar sedang */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .top-links { display: none; }
}

/* Ponsel */
@media (max-width: 720px) {
  .wrap { width: min(1240px, 100% - 28px); }
  .promo { font-size: .85rem; }
  .top-row { flex-wrap: wrap; gap: 10px 12px; padding-block: 10px; }
  .brand img { height: 42px; }
  .brand-name { font-size: 1rem; padding-left: 10px; }
  .brand { gap: 10px; margin-right: auto; }
  .search { order: 3; flex: 1 0 100%; }
  .cart-btn { width: 44px; height: 44px; }

  .hero { grid-template-columns: 1fr; border-radius: 20px; margin-top: 14px; }
  .hero-art { clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); min-height: 0; padding: 34px 18px 12px; order: 2; }
  .hero-art img { max-height: 230px; }
  .hero .btn { width: 100%; }

  .produk { padding-block: 32px 12px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kartu-isi { padding: 12px 10px 12px; }
  .kartu h3 { font-size: .98rem; }
  .harga { font-size: 1.12rem; }
  .btn { padding: 11px 12px; }
  .stepper { grid-template-columns: 38px 1fr 38px; }

  .langkah { padding-block: 36px; }
  .langkah ol { grid-template-columns: 1fr; gap: 10px; }
  .langkah li { padding: 18px; }


  .foot-row { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 96px; }
  .copy { margin-left: 0; }

  .bar-keranjang:not([hidden]) { display: flex; }
  .toast { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .laci { animation: none; }
  .toast, .btn { transition: none; }
}

/* ===== Tambahan versi Laravel: form pesanan, stok, halaman pesanan ===== */
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.kartu.habis .kartu-foto img { opacity: .45; }
.stok-info { font-size: .82rem; font-weight: 700; color: var(--red-dark); }

.form-pesan { display: grid; gap: 12px; padding: 18px 0 10px; }
.form-pesan h3 { font-size: 1.05rem; font-weight: 800; }
.form-pesan label { display: grid; gap: 5px; font-weight: 700; font-size: .92rem; }
.form-pesan input, .form-pesan textarea {
  font: inherit; font-weight: 500; color: var(--ink);
  width: 100%; background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 10px 12px;
}
.form-pesan textarea { resize: vertical; }
.form-pesan input:focus, .form-pesan textarea:focus { outline: none; border-color: var(--ink); }
.galat { color: var(--red-dark); background: var(--blush); font-weight: 700; font-size: .92rem; border-radius: 10px; padding: 10px 12px; }
.laci-kaki .btn { width: 100%; }

.berhasil { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 44px 6px 20px; }
.berhasil:focus { outline: none; }
.berhasil .centang { width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; }
.berhasil .centang svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.berhasil h3 { font-size: 1.35rem; font-weight: 800; }
.berhasil .kode { font-weight: 800; background: var(--band); padding: 6px 14px; border-radius: 8px; letter-spacing: .02em; }
.berhasil p { color: var(--muted); }
.berhasil .btn { width: 100%; }

.halaman-pesanan { max-width: 720px; padding-block: 40px 64px; }
.halaman-pesanan h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.status-baris { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; color: var(--muted); }
.status { display: inline-block; font-weight: 800; font-size: .85rem; padding: 4px 12px; border-radius: 999px; background: var(--band); color: var(--ink); }
.status-baru { background: #FFF1CC; color: #6B4A00; }
.status-diproses { background: #DCEBFF; color: #0B3F8A; }
.status-dikirim { background: #E5DEFF; color: #3B2A91; }
.status-selesai { background: #D9F2E3; color: #0C5B32; }
.status-batal { background: var(--blush); color: var(--red-dark); }
.tabel-pesanan { width: 100%; border-collapse: collapse; margin-top: 26px; }
.tabel-pesanan th, .tabel-pesanan td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabel-pesanan th:nth-child(n+2), .tabel-pesanan td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.tabel-pesanan thead th { font-size: .88rem; color: var(--muted); }
.tabel-pesanan small { color: var(--muted); }
.tabel-pesanan tfoot th, .tabel-pesanan tfoot td { font-weight: 800; font-size: 1.1rem; border-bottom: 0; }
.tabel-pesanan tfoot th { text-align: left; }
.halaman-pesanan .catatan { margin-top: 14px; }
.aksi-pesanan { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.aksi-pesanan .btn-wa { width: auto; }
@media (max-width: 720px) { .aksi-pesanan .btn { width: 100%; } }

/* ===== Papan "Harga beras hari ini" ===== */
.papan { padding-block: 36px 8px; scroll-margin-top: 90px; }
.papan-kotak { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.papan-tabel { width: 100%; border-collapse: collapse; }
.papan-tabel th, .papan-tabel td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.papan-tabel tbody tr:last-child th, .papan-tabel tbody tr:last-child td { border-bottom: 0; }
.papan-tabel thead th { background: var(--band); color: var(--muted); font-size: .88rem; font-weight: 700; }
.papan-tabel tbody th { font-weight: 800; font-size: 1.02rem; }
.papan-tabel small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }
.papan-harga { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.arah { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .92rem; white-space: nowrap; }
.arah-naik { color: var(--red-dark); }
.arah-turun { color: #0C6E3A; }
.arah-tetap { color: var(--muted); font-weight: 600; }
@media (max-width: 720px) {
  .papan { padding-block: 24px 4px; }
  .papan-tabel th, .papan-tabel td { padding: 12px 12px; }
  .papan-harga { font-size: 1.02rem; }
  .arah { font-size: .85rem; }
}

/* ===== Harga beras hari ini: sorotan berfoto ===== */
.sorot { display: flex; align-items: stretch; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; overflow: hidden; }
.sorot-kiri { flex: 0 0 38%; max-width: 470px; background: var(--blush); padding: 32px 32px 0; display: flex; flex-direction: column; gap: 12px; }
.sorot-kiri h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em; }
.sorot-kiri p { color: var(--muted); }
.sorot-aksi { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 6px; }
.sorot-aksi span { font-size: .88rem; font-weight: 700; }
.sorot-kiri img { width: 100%; height: 200px; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; margin-top: auto; }
.sorot-ubin { flex: 1; min-width: 0; padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.ubin { background: var(--band); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.ubin:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ubin-atas { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.ubin h3 { font-size: 1.03rem; font-weight: 800; letter-spacing: -.01em; }
.ubin-harga { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; white-space: nowrap; }
.ubin-harga small { font-size: .88rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ubin-ket { font-size: .82rem; color: var(--muted); }
.ubin .arah { font-size: .78rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.ubin .arah-naik { background: var(--blush); color: var(--red-dark); }
.ubin .arah-turun { background: #D9F2E3; color: #0C5B32; }
.ubin .arah-tetap { background: #fff; color: var(--muted); }
@media (max-width: 900px) {
  .sorot { flex-direction: column; border-radius: 20px; }
  .sorot-kiri { flex: none; max-width: none; padding: 24px 20px 0; }
  .sorot-kiri img { height: 170px; }
  .sorot-ubin { padding: 14px; gap: 10px; }
  .ubin { padding: 14px; }
  .ubin-harga { font-size: 1.45rem; }
}
@media (max-width: 420px) { .sorot-ubin { grid-template-columns: 1fr; } }

/* ===== Cara pesan: panel merah ===== */
.cara-wrap { padding-block: 36px 52px; scroll-margin-top: 80px; }
.cara { display: flex; align-items: stretch; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; overflow: hidden; }
.cara-kiri { flex: 0 0 32%; max-width: 400px; background: var(--red); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.cara-kiri h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.03em; line-height: 1.05; margin-top: 14px; }
.cara-kiri p { font-size: 1.06rem; margin-top: 14px; }
.cara-kiri .btn { align-self: flex-start; }
.cara-langkah { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.cara-langkah li { flex: 1; background: var(--band); border-radius: 16px; padding: 20px 24px; display: flex; align-items: center; gap: 22px; }
.cara-langkah li > div { flex: 1; min-width: 0; }
.cara-no { width: 44px; flex: none; font-size: 3.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--red); text-align: center; }
.cara-langkah h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.cara-langkah p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.cara-ikon { width: 60px; height: 60px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.cara-ikon svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .cara-wrap { padding-block: 24px 36px; }
  .cara { flex-direction: column; border-radius: 20px; }
  .cara-kiri { flex: none; max-width: none; padding: 26px 22px; gap: 20px; }
  .cara-langkah { padding: 14px; gap: 10px; }
  .cara-langkah li { padding: 16px; gap: 14px; }
  .cara-no { width: 34px; font-size: 2.5rem; }
  .cara-ikon { display: none; }
}

/* ===== Tautan detail di kartu beras ===== */
.kartu h3 a { text-decoration: none; }
.kartu h3 a:hover, .kartu-detail:hover { color: var(--red); }
.kartu-detail { align-self: flex-start; color: var(--red-dark); font-weight: 700; font-size: .88rem; text-underline-offset: 3px; margin-top: 4px; }

/* ===== Halaman detail beras ===== */
.top-spasi { flex: 1; }
.detail { padding-block: 22px 60px; }
.remah-toko { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.remah-toko a { text-underline-offset: 3px; }
.remah-toko a:hover { color: var(--red-dark); }
.remah-toko [aria-current] { color: var(--ink); }
.detail-atas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border: 1.5px solid var(--line); border-radius: 24px; overflow: hidden; }
.detail-foto { position: relative; background: var(--band); display: grid; place-items: center; padding: 28px; }
.detail-foto img { width: min(100%, 460px); height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; }
.foto-ilustrasi { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.92); font-size: .78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.detail-foto .berat { left: 20px; top: 20px; font-size: .95rem; padding: 6px 12px; }
.detail-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.detail-jenis { align-self: flex-start; background: var(--blush); color: var(--red-dark); font-weight: 800; font-size: .85rem; padding: 5px 12px; border-radius: 999px; }
.detail-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.detail-ket { color: var(--muted); font-size: 1.05rem; }
.detail-harga { color: var(--red); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.1; margin-top: 10px; }
.detail-harga small { color: var(--muted); font-weight: 600; font-size: 1rem; letter-spacing: 0; white-space: nowrap; }
.detail-perkg { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; }
.detail-perkg .arah { font-size: .82rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--band); }
.detail-perkg .arah-naik { background: var(--blush); }
.detail-perkg .arah-turun { background: #D9F2E3; color: #0C5B32; }
.detail-stok { font-weight: 700; font-size: .95rem; }
.detail-stok.ada { color: #0C5B32; }
.detail-stok.menipis { color: var(--red-dark); }
.detail-stok.habis { color: var(--muted); }
.detail-beli { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 12px; }
.detail-beli [data-aksi] { flex: 1 1 220px; max-width: 320px; }
.detail-beli .btn { min-height: 52px; font-size: 1.05rem; border-radius: 14px; }
.detail-beli [data-aksi] .btn { width: 100%; }
.detail-beli .stepper { height: 52px; border-radius: 14px; }
.detail-beli .stepper button { height: 100%; }
.detail-catatan { color: var(--muted); font-size: .9rem; }
.detail-bawah { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.detail-bawah.satu { grid-template-columns: 1fr; }
.detail-kotak { background: var(--band); border-radius: 18px; padding: 24px 26px; }
.detail-kotak h2 { font-size: 1.3rem; letter-spacing: -.01em; margin-bottom: 12px; }
.detail-teks { white-space: pre-line; max-width: 68ch; }
.detail-riwayat { margin-top: 16px; }
.rincian { margin: 0; }
.rincian div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid #DCDCE1; }
.rincian div:first-child { border-top: 0; padding-top: 0; }
.rincian div:last-child { padding-bottom: 0; }
.rincian dt { color: var(--muted); font-weight: 600; }
.rincian dd { margin: 0; font-weight: 800; text-align: right; }
.lainnya { margin-top: 44px; }
.lainnya .section-head a { color: var(--red-dark); font-weight: 700; text-underline-offset: 3px; }
.lain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lain { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .15s; }
.lain:hover { border-color: var(--ink); }
.lain-foto { display: block; background: var(--band); aspect-ratio: 4 / 3; overflow: hidden; }
.lain-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.lain-isi { display: grid; gap: 2px; padding: 12px 14px 14px; }
.lain strong { font-weight: 800; line-height: 1.25; }
.lain .harga { margin-top: 2px; font-size: 1.12rem; }
@media (max-width: 900px) {
  .detail { padding-block: 14px 44px; }
  .detail-atas { grid-template-columns: 1fr; border-radius: 20px; }
  .detail-foto { padding: 16px; }
  .detail-foto img { width: min(100%, 280px); }
  .detail-foto .berat { left: 14px; top: 14px; }
  .detail-info { padding: 22px 20px 24px; }
  .detail-beli [data-aksi] { flex-basis: 100%; max-width: none; }
  .detail-beli > .btn { width: 100%; }
  .detail-bawah { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .detail-kotak { padding: 20px; }
  .lainnya { margin-top: 32px; }
  .lain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 720px) { .detail-beli > .btn { display: none; } }

/* ===== Halaman profil: kartu melayang ===== */
.top-links [aria-current] { color: var(--red-dark); }
.pf-latar { background: var(--band); }
.pf { padding-block: 24px 56px; display: flex; flex-direction: column; gap: 20px; }
.pf-kartu { background: #fff; border-radius: 32px; box-shadow: 0 16px 40px rgba(23, 23, 26, .08); }
.pf-hero { display: flex; align-items: stretch; gap: 16px; padding: 16px; border-radius: 40px; min-height: 540px; }
.pf-hero-teks { flex: 1; min-width: 0; padding: 36px 24px 36px 40px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.pf-hero-teks h1 { font-size: clamp(2.4rem, 5.3vw, 4.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pf-hero-teks p { font-size: 1.19rem; line-height: 1.5; color: var(--muted); max-width: 30em; }
.pf-aksi { display: flex; flex-wrap: wrap; gap: 12px; }
.pf-pil { border-radius: 999px; padding: 15px 26px; font-size: 1.03rem; }
.pf-pil-abu { background: var(--band); }
.pf-pil-abu:hover { background: var(--line); }
.pf-pil-hijau { background: var(--wa); color: #fff; }
.pf-pil-hijau:hover { background: #0C6E3A; }
.pf-hero-foto { flex: 0 0 46%; max-width: 560px; position: relative; background: var(--blush); border-radius: 28px; display: flex; align-items: flex-end; justify-content: center; }
.pf-hero-foto > img { width: 92%; height: auto; max-height: 400px; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
.pf-harga { position: absolute; left: -56px; bottom: 40px; width: 270px; background: #fff; border-radius: 20px; box-shadow: 0 10px 28px rgba(23, 23, 26, .14); padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; text-decoration: none; transition: translate .15s; }
.pf-harga:hover { translate: 0 -3px; }
.pf-harga-judul { font-size: .81rem; font-weight: 800; color: var(--red-dark); }
.pf-harga-baris { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .94rem; font-weight: 600; }
.pf-harga-baris strong { font-weight: 800; white-space: nowrap; }
.pf-jenis { position: absolute; top: 24px; right: 24px; background: #fff; border-radius: 999px; box-shadow: 0 10px 28px rgba(23, 23, 26, .14); padding: 8px 18px 8px 8px; display: flex; align-items: center; gap: 10px; font-size: .94rem; }
.pf-jenis strong { font-weight: 800; }
.pf-tumpuk { display: flex; }
.pf-tumpuk span { width: 40px; height: 40px; border-radius: 50%; background: var(--band); border: 2px solid #fff; overflow: hidden; display: grid; place-items: center; }
.pf-tumpuk span + span { margin-left: -12px; }
.pf-tumpuk img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.pf-fakta { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pf-fakta li { padding: 28px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.pf-fakta li > span { font-size: .94rem; font-weight: 700; color: var(--muted); }
.pf-angka { font-size: 3.25rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pf-teks { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pf-fakta .pf-merah { background: var(--red); color: #fff; align-items: flex-start; }
.pf-merah strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.pf-merah a { background: #fff; color: var(--red-dark); font-weight: 800; font-size: .94rem; text-decoration: none; padding: 11px 20px; border-radius: 999px; transition: background-color .15s, color .15s; }
.pf-merah a:hover { background: var(--ink); color: #fff; }
.pf-dua { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pf-dua > section { padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.pf-dua h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.12; }
.pf-cerita { font-size: 1.19rem; line-height: 1.6; white-space: pre-line; }
.pf-redup { color: var(--muted); }
.pf-alur { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pf-alur li { display: flex; align-items: flex-start; gap: 14px; }
.pf-no { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.pf-alur strong { font-weight: 800; font-size: 1.08rem; }
.pf-alur p { color: var(--muted); font-size: .95rem; }
.pf-obrolan { margin-top: auto; background: var(--band); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pf-obrolan span { font-size: .78rem; font-weight: 700; color: var(--muted); }
.pf-obrolan p { max-width: 80%; padding: 10px 14px; font-size: .94rem; }
.pf-obrolan .dari-anda { align-self: flex-end; background: #D9F2E3; border-radius: 16px 16px 4px 16px; }
.pf-obrolan .dari-gbi { align-self: flex-start; background: #fff; border-radius: 16px 16px 16px 4px; }
.pf-kontak { display: flex; align-items: stretch; gap: 16px; padding: 16px; border-radius: 40px; scroll-margin-top: 90px; }
.pf-peta { flex: 0 0 46%; max-width: 560px; min-height: 360px; border-radius: 28px; overflow: hidden; background: var(--blush); color: var(--red); display: grid; place-items: center; }
.pf-peta iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.pf-peta svg { width: 130px; height: auto; }
.pf-kontak-isi { flex: 1; min-width: 0; padding: 28px 32px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; }
.pf-kontak-isi h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.03em; line-height: 1.1; }
.pf-daftar { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pf-daftar li { display: flex; align-items: center; gap: 14px; }
.pf-ik { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.pf-ik svg { width: 22px; height: 22px; fill: none; stroke: var(--red-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-daftar small { display: block; font-size: .84rem; font-weight: 700; color: var(--muted); }
.pf-daftar strong { font-size: 1.06rem; font-weight: 800; line-height: 1.35; }
@media (max-width: 1100px) {
  .pf-harga { left: 16px; bottom: 16px; }
}
@media (max-width: 900px) {
  .pf { padding-block: 14px 40px; gap: 14px; }
  .pf-kartu { border-radius: 24px; }
  .pf-hero { flex-direction: column; min-height: 0; padding: 12px; border-radius: 28px; }
  .pf-hero-teks { padding: 20px 12px 10px; gap: 16px; }
  .pf-hero-foto { flex: none; max-width: none; border-radius: 20px; flex-direction: column; align-items: stretch; padding: 70px 12px 12px; gap: 4px; }
  .pf-hero-foto > img { width: 100%; max-height: 260px; }
  .pf-harga { position: static; width: auto; }
  .pf-jenis { top: 14px; right: 14px; }
  .pf-aksi .btn { flex: 1 1 auto; }
  .pf-fakta { grid-template-columns: 1fr; gap: 14px; }
  .pf-fakta li { min-height: 150px; padding: 22px; }
  .pf-dua { grid-template-columns: 1fr; gap: 14px; }
  .pf-dua > section { padding: 24px 20px; }
  .pf-kontak { flex-direction: column; padding: 12px; border-radius: 28px; }
  .pf-peta { flex: none; max-width: none; min-height: 240px; border-radius: 20px; }
  .pf-peta iframe { min-height: 240px; }
  .pf-kontak-isi { padding: 14px 12px 12px; }
  .pf-kontak-isi .btn { width: 100%; }
}

/* ===== Halaman proses beras ===== */
.pr { --gabah: #E3A72F; --pecah: #B88654; --garis-tua: #C9CACF; }
.pr-pembuka { padding-block: 52px 8px; }
.pr-pembuka h1 { font-size: clamp(2.3rem, 6.2vw, 4.75rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; max-width: 13em; text-wrap: balance; }
.pr-pembuka > p { margin-top: 20px; font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.pr-pembuka > .pr-catatan { margin-top: 14px; font-size: .92rem; }
.pr-wujud { list-style: none; margin: 36px 0 0; padding: 22px 26px; background: var(--band); border-radius: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pr-wujud li { position: relative; display: grid; justify-items: start; }
.pr-wujud svg { width: 92px; height: auto; margin-left: -6px; }
.pr-wujud strong { font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; }
.pr-wujud span { font-size: .9rem; color: var(--muted); }
.pr-wujud li + li::before { content: ""; position: absolute; left: -22px; top: 16px; width: 12px; height: 12px; border-top: 3px solid var(--ink); border-right: 3px solid var(--ink); border-radius: 2px; rotate: 45deg; }
.pr-o { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.pr-fp { fill: #fff; } .pr-fg { fill: var(--gabah); } .pr-fk { fill: var(--pecah); }
.pr-bintang { fill: var(--gabah); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.pr-alur { list-style: none; position: relative; margin: 56px 0 0; padding: 0; display: grid; gap: 56px; }
.pr-alur::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: linear-gradient(to bottom, var(--garis-tua) 55%, transparent 0) top / 3px 16px repeat-y; }
.pr-alur::after { content: ""; position: absolute; left: 50%; top: 0; width: 14px; height: 24px; margin-left: -7px; border-radius: 50%; background: var(--gabah); border: 2.5px solid var(--ink); animation: pr-turun 28s linear infinite; }
@keyframes pr-turun {
  0% { top: 0; background: var(--gabah); }
  43% { background: var(--gabah); }
  47%, 52% { background: var(--pecah); }
  56% { background: #fff; }
  100% { top: calc(100% - 24px); background: #fff; }
}
.pr-tahap { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; column-gap: 28px; }
.pr-tahap .pr-foto { grid-column: 1; grid-row: 1; }
.pr-tahap .pr-simpul { grid-column: 2; grid-row: 1; }
.pr-tahap .pr-isi { grid-column: 3; grid-row: 1; }
.pr-tahap:nth-child(even) .pr-foto { grid-column: 3; }
.pr-tahap:nth-child(even) .pr-isi { grid-column: 1; justify-self: end; }
.pr-foto { position: relative; aspect-ratio: 3 / 2; border-radius: 28px; overflow: hidden; background: var(--band); }
.pr-foto img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--asal, 50% 50%); animation: pr-dekat 16s ease-in-out infinite alternate; }
@keyframes pr-dekat { from { transform: scale(1); } to { transform: scale(1.15); } }
.pr-foto.diam img { animation-play-state: paused; }
.pr-tanda { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .9); font-size: .78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.pr-simpul { position: relative; z-index: 1; justify-self: center; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); box-shadow: 0 0 0 8px #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; }
.pr-s-g { background: var(--gabah); }
.pr-s-k { background: var(--pecah); }
.pr-s-p { background: #fff; }
.pr-isi { max-width: 30em; }
.pr-isi h2 { font-size: clamp(1.5rem, 2.7vw, 2.15rem); letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.pr-isi p { margin-top: 10px; font-size: 1.06rem; color: var(--muted); }
.pr-penutup { margin-block: 72px 64px; background: var(--red); color: #fff; border-radius: 32px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pr-penutup h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.03em; line-height: 1.1; }
.pr-penutup a { background: #fff; color: var(--red-dark); font-weight: 800; font-size: 1.03rem; text-decoration: none; padding: 15px 26px; border-radius: 999px; transition: background-color .15s, color .15s; }
.pr-penutup a:hover { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .pr-foto img, .pr-alur::after { animation: none; }
}
@media (max-width: 820px) {
  .pr-pembuka { padding-top: 32px; }
  .pr-wujud { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; border-radius: 22px; }
  .pr-wujud li + li::before { display: none; }
  .pr-alur { margin-top: 40px; gap: 40px; }
  .pr-alur::before, .pr-alur::after { left: 22px; }
  .pr-tahap { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 14px; align-items: start; }
  .pr-tahap .pr-simpul { grid-column: 1; grid-row: 1 / span 2; align-self: start; width: 44px; height: 44px; font-size: 1rem; box-shadow: 0 0 0 6px #fff; }
  .pr-tahap .pr-foto, .pr-tahap:nth-child(even) .pr-foto { grid-column: 2; grid-row: 1; border-radius: 20px; }
  .pr-tahap .pr-isi, .pr-tahap:nth-child(even) .pr-isi { grid-column: 2; grid-row: 2; justify-self: start; }
  .pr-penutup { margin-block: 48px; padding: 28px 24px; border-radius: 24px; }
  .pr-penutup a { width: 100%; text-align: center; }
}

/* ===== Menu di layar kecil ===== */
.menu-btn { display: none; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; place-items: center; }
.menu-btn:hover { border-color: var(--ink); }
.menu-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.top-links .hanya-hp { display: none; }
@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  .top.menu-buka .menu-btn { background: var(--red); border-color: var(--red); }
  .top.menu-buka .menu-btn svg { stroke: #fff; }
  .top-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(23, 23, 26, .1); padding: 4px 20px 10px; }
  .top.menu-buka .top-links { display: flex; }
  .top-links a, .top-links .hanya-hp { display: block; padding: 15px 4px; font-size: 1.05rem; border-top: 1px solid var(--line); }
  .top-links a:first-child { border-top: 0; }
}
@media (max-width: 720px) {
  .menu-btn { width: 44px; height: 44px; }
  .top-links { padding-inline: 14px; }
}

/* ===== Footer: bento berfoto ===== */
.kaki { background: var(--band); padding-block: 40px 24px; margin-top: 24px; }
.pf-latar .kaki { margin-top: 0; padding-top: 0; }
.kk-kisi { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr) minmax(0, 320px); gap: 16px; }
.kk-kartu { border-radius: 32px; box-shadow: 0 16px 40px rgba(23, 23, 26, .08); }
.kk-foto { position: relative; display: block; min-height: 420px; overflow: hidden; background: #D9DADF; text-decoration: none; }
.kk-foto img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transition: scale .4s; }
.kk-foto:hover img { scale: 1.04; }
.kk-tanda { position: absolute; top: 16px; left: 16px; background: rgba(255, 255, 255, .9); font-size: .78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.kk-foto-teks { position: absolute; left: 16px; right: 16px; bottom: 16px; background: #fff; border-radius: 20px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kk-foto-teks strong, .kk-jenis strong { display: block; font-size: 1.06rem; font-weight: 800; line-height: 1.3; }
.kk-foto-teks small, .kk-jenis small { display: block; font-size: .9rem; color: var(--muted); }
.kk-panah { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--red-dark); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.kk-tengah { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kk-merah { flex: 1; background: var(--red); color: #fff; padding: 30px 32px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; }
.kk-judul { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; }
.kk-merah a { background: #fff; color: var(--red-dark); font-weight: 800; text-decoration: none; padding: 14px 24px; border-radius: 999px; transition: background-color .15s, color .15s; }
.kk-merah a:hover { background: var(--ink); color: #fff; }
.kk-jenis { background: #fff; padding: 20px 24px; display: flex; align-items: center; gap: 16px; text-decoration: none; }
.kk-jenis-teks { flex: 1; min-width: 0; }
.kk-tumpuk { display: flex; flex: none; }
.kk-tumpuk span { width: 56px; height: 56px; border-radius: 50%; background: var(--band); border: 3px solid #fff; overflow: hidden; display: grid; place-items: center; }
.kk-tumpuk span + span { margin-left: -16px; }
.kk-tumpuk img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.kk-menu { background: #fff; padding: 20px 26px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.kk-menu ul { list-style: none; margin: 0; padding: 0; }
.kk-menu li + li { border-top: 1px solid var(--line); }
.kk-menu li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 1.03rem; font-weight: 700; text-decoration: none; }
.kk-menu li a:hover { color: var(--red-dark); }
.kk-kontak { display: grid; gap: 10px; }
.kk-kontak p { font-size: .9rem; color: var(--muted); }
.kk-wa { background: var(--wa); color: #fff; font-weight: 800; font-size: .97rem; text-decoration: none; text-align: center; padding: 13px 20px; border-radius: 999px; }
.kk-wa:hover { background: #0C6E3A; }
.kk-bawah { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px 12px 0; }
.kk-bawah .brand img { height: 44px; }
.kk-bawah p { font-size: .9rem; color: var(--muted); }
@media (max-width: 1100px) {
  .kk-kisi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kk-foto { grid-column: 1 / -1; min-height: 280px; }
}
@media (max-width: 720px) {
  .kaki { padding-block: 28px 96px; }
  .pf-latar .kaki { padding-bottom: 96px; }
  .kk-kisi { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .kk-tengah { gap: 14px; }
  .kk-kartu { border-radius: 24px; }
  .kk-foto { min-height: 240px; }
  .kk-merah { padding: 24px 22px; min-height: 180px; }
  .kk-jenis { padding: 18px 20px; }
  .kk-bawah { padding-inline: 4px; }
}


/* ===== Pilihan beras: kartu geser berfoto (Pilihan H) ===== */
.produk-kotak { background: var(--band); border-radius: 32px; padding: 40px 40px 30px; overflow: hidden; }
.produk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.produk-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -.035em; line-height: 1.1; }
.produk-sub { color: var(--muted); font-size: 1.05rem; margin-top: 6px; }
.rel-panah { display: flex; gap: 10px; flex: none; }
.rel-panah button { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(23,23,26,.06); transition: background-color .15s; }
.rel-panah button:hover { background: var(--red-dark); }
.rel-panah button[disabled] { background: #fff; color: #A9AAB1; cursor: default; }
.rel-panah svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ukuran { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.ukuran::-webkit-scrollbar { display: none; }
.ukuran button { flex: none; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: 1rem; line-height: 1.3; padding: 12px 22px; min-height: 48px; white-space: nowrap; transition: background-color .15s, color .15s; }
.ukuran button:hover { background: var(--blush); color: var(--red-dark); }
.ukuran button[aria-pressed="true"] { background: var(--red); color: #fff; }
.hasil-info { color: var(--muted); font-size: .95rem; margin: -6px 0 14px; }
.hasil-info:empty { display: none; }
.rel { display: flex; align-items: stretch; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 40px; scrollbar-width: none; margin: 0 -40px; padding: 4px 40px 36px; }
.rel::-webkit-scrollbar { display: none; }
.rel[hidden], .rel-panah[hidden], .rel-titik[hidden], .ukuran[hidden] { display: none; }
.kartu { flex: 0 0 356px; scroll-snap-align: start; border: 0; border-radius: 32px; padding: 10px; overflow: visible; box-shadow: 0 16px 40px rgba(23,23,26,.08); }
.kartu-foto { border-radius: 22px; background: #E9E6E1; }
.kartu-foto img { object-fit: cover; object-position: center top; transform: none; mix-blend-mode: normal; transition: transform .3s; }
.kartu-foto:hover img { transform: scale(1.03); }
.kartu-isi { padding: 14px 12px 12px; gap: 0; }
.kartu h3 { font-size: 1.5rem; letter-spacing: -.025em; line-height: 1.2; }
.kartu h3 small { color: var(--muted); font-size: .95rem; font-weight: 700; letter-spacing: 0; white-space: nowrap; margin-left: 2px; }
.kartu .ket { font-size: .95rem; line-height: 1.4; margin-top: 4px; }
.kartu .stok-info { margin-top: 6px; }
.kartu-bawah { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.kartu-harga { display: flex; flex-direction: column; min-width: 0; }
.kartu-harga strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; white-space: nowrap; }
.kartu-harga span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.kartu-aksi { flex: none; margin: 0; padding: 0; }
.kartu-aksi .btn { width: auto; border-radius: 999px; padding: 14px 20px; white-space: nowrap; }
.kartu-aksi .stepper { grid-template-columns: 44px 34px 44px; border-radius: 999px; background: #fff; }
.rel-titik { display: flex; justify-content: center; gap: 6px; margin-top: -14px; }
.rel-titik span { width: 8px; height: 8px; border-radius: 999px; background: #C9CAD0; transition: width .2s, background-color .2s; }
.rel-titik span.aktif { width: 22px; background: var(--red); }
.produk-kotak .kosong { background: #fff; border-color: var(--line); margin-bottom: 10px; }
.foto-catatan { color: var(--muted); font-size: .85rem; margin-top: 12px; }
@media (min-width: 721px) { .rel-titik { display: none; } }
@media (max-width: 720px) {
  .produk-kotak { border-radius: 26px; padding: 26px 16px 22px; }
  .produk-head { margin-bottom: 16px; }
  .produk-sub { font-size: .95rem; }
  .rel-panah { display: none; }
  .ukuran { margin: 0 -16px 16px; padding-inline: 16px; }
  .ukuran button { font-size: .92rem; padding: 10px 16px; min-height: 44px; }
  .rel { gap: 12px; margin: 0 -16px; padding: 4px 16px 32px; scroll-padding-inline: 16px; }
  .kartu { flex-basis: min(276px, 76vw); border-radius: 28px; padding: 8px; }
  .kartu-foto { border-radius: 20px; }
  .kartu-isi { padding: 12px 8px 8px; }
  .kartu h3 { font-size: 1.2rem; }
  .kartu .ket { font-size: .88rem; }
  .kartu-harga strong { font-size: 1.25rem; }
  .kartu-aksi .btn { width: 48px; height: 48px; padding: 0; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
  .kartu-aksi .btn .teks-tombol { display: none; }
  .kartu-aksi .btn[disabled] { width: auto; height: auto; padding: 12px 14px; font-size: .9rem; }
  .kartu-aksi .stepper { grid-template-columns: 40px 30px 40px; }
  .foto-ilustrasi { left: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .kartu-foto img, .rel-titik span { transition: none; } .kartu-foto:hover img { transform: none; } }


/* Kartu geser: tiap kartu tampil utuh, tidak ada yang terpotong di tepi */
.rel { gap: 18px; margin: 0 -18px; padding: 4px 18px 36px; scroll-padding-inline: 18px; }
.kartu { flex: 0 0 calc((100% - 36px) / 3); }
.kartu .kartu-detail { margin-top: 8px; font-size: .92rem; }
@media (max-width: 1100px) { .kartu { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 720px) {
  .produk-head { align-items: flex-start; gap: 12px; }
  .rel-panah { display: flex; gap: 8px; }
  .rel-panah button { width: 44px; height: 44px; }
  .ukuran { flex-wrap: wrap; margin: 0 0 16px; padding-inline: 0; overflow: visible; }
  .rel { gap: 16px; margin: 0 -16px; padding: 4px 16px 32px; scroll-padding-inline: 16px; }
  .kartu { flex-basis: 100%; }
  .kartu h3 { font-size: 1.35rem; }
  .kartu .ket { font-size: .95rem; }
  .kartu-harga strong { font-size: 1.4rem; }
  .kartu-aksi .btn { width: auto; height: auto; padding: 13px 18px; font-size: 1rem; line-height: 1.2; display: inline-flex; }
  .kartu-aksi .btn .teks-tombol { display: inline; }
  .kartu-aksi .stepper { grid-template-columns: 44px 34px 44px; }
}

.kartu { box-shadow: 0 12px 24px -8px rgba(23,23,26,.12); }
@media (max-width: 720px) {
  .ukuran { display: grid; grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); gap: 6px; }
  .ukuran button { padding: 10px 2px; font-size: clamp(.78rem, 3.5vw, .88rem); text-align: center; }
}
