:root {
  --hutan: #14532D; --hutan-gelap: #1B4332; --teal: #0F766E; --krem: #F7F3E9; --putih: #FFFFFF;
  --emas: #C9A24B; --emas-tua: #D97706; --teks: #1F2A24; --muted: #5B6B62; --garis: #E4DCC8;
  --merah: #B42318; --radius: 14px; --shadow: 0 1px 2px rgba(20,83,45,.06), 0 4px 16px rgba(20,83,45,.06);
  --serif: 'Fraunces', Georgia, serif; --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--krem); color: var(--teks); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3, .h3 { font-family: var(--serif); color: var(--hutan); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3.6vw, 1.9rem); }
h3, .h3 { font-size: 1.15rem; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.section { padding-top: 32px; padding-bottom: 32px; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .right { text-align: right; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--teal); margin: 0 0 .4em; }
.lead { font-size: 1.05rem; }
code { background: #EFE8D6; padding: 0 4px; border-radius: 4px; font-size: .85em; }

/* Header: bilah pengumuman + tiga kolom (kontak · logo · aksi) + menu di tengah */
.topbar { background: var(--hutan); color: #DCEBDF; font-size: .78rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.topbar b { color: var(--kuning); }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .topbar a { display: none; } .topbar-in { justify-content: center; text-align: center; } }
.site-header { background: var(--putih); border-bottom: 1px solid #ECEAE3; position: sticky; top: 0; z-index: 20; }
.header-in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 700 1.4rem var(--serif); color: var(--hutan); }
.logo small { font: 600 .75rem var(--sans); color: var(--teal); }
.logo-light { color: #fff; }
.hdr-contact { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 6px; justify-self: end; }
.hdr-icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #EFF6F0; color: var(--hutan); text-decoration: none; }
.hdr-icon svg { width: 20px; height: 20px; }
.hdr-akun { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--teks); }
.hdr-akun > span:last-child { display: none; font-size: .78rem; line-height: 1.25; font-weight: 600; }
.hdr-akun small { display: block; color: var(--muted); font-weight: 400; }
.cart-count { position: absolute; top: -2px; right: -2px; background: var(--emas-tua); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 99px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 4px; }
.cart-count:empty { display: none; }
.nav-toggle { background: none; border: 1px solid #ECEAE3; border-radius: 50%; width: 42px; height: 42px; font-size: 1.1rem; color: var(--hutan); cursor: pointer; }
.nav { display: none; border-top: 1px solid #ECEAE3; }
.nav.open { display: block; }
.nav .wrap { display: flex; flex-direction: column; }
.nav a { padding: 11px 0; text-decoration: none; color: var(--teks); font-weight: 600; font-size: .92rem; border-bottom: 1px solid #F1EFE9; }
.nav a[aria-current] { color: var(--hutan); }
@media (min-width: 860px) {
  .header-in { grid-template-columns: 1fr auto 1fr; min-height: 78px; }
  .hdr-contact { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teks); font-size: .8rem; font-weight: 600; line-height: 1.25; }
  .hdr-contact small { display: block; color: var(--muted); font-weight: 400; }
  .hdr-akun > span:last-child { display: block; }
  .nav-toggle { display: none; }
  .nav { display: block; }
  .nav .wrap { flex-direction: row; justify-content: center; gap: 28px; }
  .nav a { border: 0; padding: 12px 0; position: relative; }
  .nav a[aria-current]::after, .nav a:hover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--emas-tua); border-radius: 2px; }
}


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid transparent; font: 700 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn-primary { background: var(--hutan); color: #fff; }
.btn-primary:hover { background: var(--hutan-gelap); }
.btn-ghost { background: transparent; color: var(--hutan); border-color: var(--hutan); }
.btn-ghost:hover { background: var(--hutan); color: #fff; }
.btn-wa { background: #1F8F4E; color: #fff; margin-top: 16px; }
.wa-cta { border-left: 4px solid #1F8F4E; }
.wa-cta .btn-wa { margin-top: 4px; }
.wa-cta p:last-child { margin: 8px 0 0; text-align: center; }
.btn-danger { background: var(--merah); color: #fff; }
.btn.block { display: flex; width: 100%; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: .85rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--emas); outline-offset: 2px; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--teal); font: inherit; font-size: .875rem; cursor: pointer; text-decoration: underline; }
.link-btn.danger { color: var(--merah); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }

/* Motif: gelombang danau & daun, sangat tipis */
.motif-leaf { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='120' viewBox='0 0 220 120'%3E%3Cpath d='M0 90 Q27 78 55 90 T110 90 T165 90 T220 90' fill='none' stroke='%230F766E' stroke-opacity='.08' stroke-width='2'/%3E%3Cpath d='M0 104 Q27 92 55 104 T110 104 T165 104 T220 104' fill='none' stroke='%230F766E' stroke-opacity='.06' stroke-width='2'/%3E%3Cpath d='M170 20c-22 4-34 22-30 44 22-4 34-22 30-44z' fill='%2314532D' fill-opacity='.05'/%3E%3C/svg%3E") repeat, linear-gradient(180deg, #FFFDF7, var(--krem)); }
.motif-wave { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='40' viewBox='0 0 200 40'%3E%3Cpath d='M0 20 Q25 8 50 20 T100 20 T150 20 T200 20' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='2'/%3E%3C/svg%3E") repeat, var(--hutan-gelap); }

/* ---------- Beranda: gaya toko grosir (banner + kategori + grid produk) ---------- */
:root { --kuning: #F2C66D; --abu: #F4F4F1; --hijau-harga: #2F7D32; --oranye-label: #E08A1E; }
.btn-gold { background: var(--kuning); color: var(--hutan-gelap); }
.btn-gold:hover { background: #F6D58C; }
.btn-pill { background: var(--hutan); color: #fff; min-height: 36px; padding: 0 18px; font-size: .82rem; }
.home main, body:has(.home-hero) { background: #fff; }
.home-sec { padding: 44px 0; }
.home-sec.abu { background: var(--abu); }
.home-sec.pola { background: #EEF4EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 18c-16 6-24 22-20 40 16-2 26-14 28-30 1-5 0-8-8-10zM20 80c10 2 18 10 18 22-10 0-18-8-20-18 0-3 0-4 2-4zM96 70c-10 4-14 14-12 24 10-2 16-10 16-20 0-3-1-4-4-4z' fill='%2314532D' fill-opacity='.05'/%3E%3C/svg%3E"); }
.sec-title { text-align: center; font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: 24px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { margin: 0; font-size: clamp(1.3rem, 3vw, 1.6rem); }

/* Hero: banner besar + dua promo */
.home-hero { padding: 24px 0 8px; }
.hero-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.85fr 1fr; } .hero-grid.tunggal { grid-template-columns: 1fr; } }
.hero-main { position: relative; display: grid; gap: 18px; align-items: center; background: #FFF6DA; border-radius: 20px; padding: 28px 24px; overflow: hidden; }
@media (min-width: 720px) { .hero-main { grid-template-columns: 1.35fr 1fr; padding: 32px 32px; } }
.hero-main .eyebrow { color: var(--oranye-label); }
.hero-main h1 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); color: var(--hutan-gelap); }
.hero-main .lead { font-size: .9rem; color: #4A5248; margin: 0 0 6px; }
.hero-main .lead strong { color: var(--hutan); }
.hero-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 30px rgba(120,90,20,.18); }
@media (max-width: 719px) { .hero-photo { order: -1; aspect-ratio: 16/9; } }
.hero-side { display: grid; gap: 16px; }

/* Banner promo: warna dasar + foto di sisi kanan yang memudar */
.promo { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 170px; padding: 22px 24px; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.promo img { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; height: 100%; object-fit: cover; z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 55%); mask-image: linear-gradient(to right, transparent, #000 55%); }
.promo h3, .promo p { text-shadow: 0 1px 8px rgba(0,0,0,.18); }
.promo-lebar h3, .promo-lebar p { max-width: 54%; }
.promo .p-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kuning); margin: 0 0 4px; }
.promo h3 { color: #fff; font-family: var(--sans); font-weight: 800; font-size: 1.3rem; margin: 0 0 6px; max-width: 62%; }
.promo p { margin: 0; font-size: .82rem; max-width: 58%; opacity: .92; }
.promo .p-link { margin-top: 12px; font-size: .82rem; font-weight: 700; color: var(--kuning); }
.promo:hover .p-link { text-decoration: underline; }
.promo-teal { background: var(--teal); }
.promo-gelap { background: #2B2118; }
.promo-oranye { background: #D9822B; }
.promo-oranye .p-tag, .promo-oranye .p-link { color: #FFF3D6; }
.promo-hijau { background: var(--hutan-gelap); }
.promo-lebar { min-height: 200px; }
.promo-lebar h3 { font-size: 1.45rem; }
.promo-row { display: grid; gap: 16px; }
@media (min-width: 760px) { .promo-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .promo h3, .promo p { max-width: 70%; } .promo img { width: 55%; } }

/* Kepercayaan */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (min-width: 860px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid #ECEAE3; border-radius: 14px; background: #fff; }
.trust-item svg { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: #EFF6F0; fill: none; stroke: var(--hutan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-item h3 { font-family: var(--sans); font-size: .9rem; margin: 0 0 2px; color: var(--teks); }
.trust-item p { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* Belanja per kategori */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 120px; gap: 16px; overflow-x: auto; padding-bottom: 6px; justify-content: start; }
@media (min-width: 760px) { .cats { justify-content: center; grid-auto-columns: 150px; gap: 28px; } }
.cat { text-align: center; text-decoration: none; color: var(--hutan); font-weight: 700; font-size: .85rem; }
.cat span { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--abu); margin-bottom: 10px; border: 6px solid var(--abu); transition: border-color .2s; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat:hover span { border-color: #E3EFE4; } .cat:hover img { transform: scale(1.06); }

/* Tab filter */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font: 600 .8rem var(--sans); color: var(--muted); cursor: pointer; }
.tab.active, .tab:hover { background: #FFF1C9; color: var(--teks); }

/* Cerita (kartu lebar) */
.stories { display: grid; gap: 16px; }
@media (min-width: 760px) { .stories { grid-template-columns: 1fr 1fr; } }
.story { display: grid; grid-template-columns: 1fr 130px; gap: 16px; align-items: center; padding: 20px; border-radius: 18px; background: #fff; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
@media (min-width: 480px) { .story { grid-template-columns: 1fr 170px; } }
.story img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.story .pc-cat { margin-bottom: 4px; }
.story h3 { font-family: var(--sans); font-size: 1.05rem; color: var(--teks); margin: 0 0 6px; }
.story p { margin: 0; font-size: .86rem; color: var(--muted); }

/* Jalur kirim */
.jalur-intro { max-width: 720px; margin: 0 auto 22px; text-align: center; color: #4A5248; }
.jalur-intro strong { color: var(--hutan); }
.jalur-cards { display: grid; gap: 16px; max-width: 900px; margin: 0 auto 18px; }
@media (min-width: 640px) { .jalur-cards { grid-template-columns: 1fr 1fr; } }
.jalur-card { background: #fff; border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); border-top: 4px solid var(--teal); }
.jalur-card.taksi { border-top-color: var(--emas-tua); }
.jalur-card h3 { font-family: var(--sans); font-size: 1.2rem; color: var(--teks); margin: 2px 0 10px; }
.jalur-card ul { margin: 0; padding-left: 18px; font-size: .9rem; }
.jalur-card li { margin-bottom: 4px; }
.jalur-card li strong { color: var(--hutan); }
.jc-tag { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.jalur-card.taksi .jc-tag { color: var(--emas-tua); }
.jc-kota { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }

/* Testimoni */
.testi { display: grid; gap: 16px; }
@media (min-width: 720px) { .testi { grid-template-columns: repeat(3, 1fr); } }
.testi figure { margin: 0; padding: 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.stars { color: var(--emas-tua); letter-spacing: 2px; }
.testi blockquote { margin: 8px 0; font-style: italic; color: #4A5248; }
.testi figcaption { font-size: .85rem; font-weight: 700; color: var(--hutan); }


/* Grid & cards */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--emas); padding-bottom: 6px; margin-bottom: 16px; }
.section-head h1, .section-head h2 { margin: 0; }
.grid { display: grid; gap: 14px; }
.products { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .products.lima { grid-template-columns: repeat(5, 1fr); } }
.card { background: var(--putih); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.grid > .card { margin: 0; }

/* Kartu produk: foto, label kategori, nama, satuan, harga + tombol keranjang */
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: 16px; padding: 12px; border: 1px solid #EEECE6; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: 0 10px 28px rgba(20,40,20,.10); transform: translateY(-2px); }
.pcard[hidden] { display: none; }
.pc-img { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--abu, #F4F4F1); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-badge { position: absolute; left: 8px; top: 8px; background: #E5484D; color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 12px 2px 0; }
.pc-cat { font-size: .72rem; font-weight: 600; color: var(--oranye-label, #E08A1E); margin: 0 0 2px; }
.pc-body h3 { font-family: var(--sans); font-size: .92rem; font-weight: 700; line-height: 1.35; margin: 0 0 2px; }
.pc-body h3 a { color: var(--teks); text-decoration: none; }
.pc-body h3 a:hover { color: var(--hutan); }
.pc-unit { font-size: .75rem; color: var(--muted); margin: 0 0 8px; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.pc-foot .price { color: var(--hijau-harga, #2F7D32); font-size: 1rem; }
.pc-cart { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--abu, #F4F4F1); color: var(--hutan); cursor: pointer; transition: background .2s, color .2s; }
.pc-cart:hover { background: var(--hutan); color: #fff; }
.pc-cart:disabled { opacity: .4; cursor: not-allowed; }
.pc-cart svg { width: 18px; height: 18px; }
.price { color: var(--emas-tua); font-weight: 700; margin: 0; }
.price small { color: var(--muted); font-weight: 400; }
.price.big { font-size: 1.6rem; font-family: var(--serif); }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; vertical-align: middle; }
.tag-segar { background: #FDF0D5; color: #8A4B00; }
.pc-img .tag { position: absolute; left: 8px; top: 8px; }
.tag.inline { display: inline-block; margin: 0 0 12px; }
.tag-bis { background: #DDF1EE; color: var(--teal); }


/* Katalog */
.search { display: flex; gap: 8px; margin-bottom: 12px; }
.search input { flex: 1; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 12px; }
.chip { flex: none; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--garis); background: var(--putih); text-decoration: none; color: var(--teks); font-size: .875rem; font-weight: 600; }
.chip.active { background: var(--hutan); border-color: var(--hutan); color: #fff; }

/* Detail produk */
.product-detail { display: grid; gap: 24px; }
@media (min-width: 860px) { .product-detail { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.gallery-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); background: #EFE8D6; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; flex: none; background: none; }
.gallery-thumbs button.active { border-color: var(--teal); }
.variants { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.variant { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 2px solid var(--garis); background: var(--putih); font: 600 .9rem var(--sans); cursor: pointer; color: var(--teks); }
.variant.active { border-color: var(--hutan); background: #E8F1EA; color: var(--hutan); }
.isi { margin: 0 0 8px; padding-left: 20px; font-size: .9rem; }
.qty { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.qty input { width: 90px; }
.ship-est { margin-top: 16px; border-left: 4px solid var(--teal); }
.ship-est ul { padding-left: 18px; margin: 0 0 8px; font-size: .9rem; }
.ship-est li { margin-bottom: 8px; }
.origin { margin-top: 16px; }

/* Forms */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
input:not([type=radio]):not([type=checkbox]), select, textarea { display: block; width: 100%; margin-top: 4px; min-height: 46px; padding: 10px 12px; border: 1px solid #CFC5AE; border-radius: 10px; background: #fff; font: 400 1rem var(--sans); color: var(--teks); }
textarea { min-height: 80px; }
input[type=file] { padding: 8px; }
select:disabled { background: #F2EFE7; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
fieldset.card { padding: 16px; }
legend { font: 700 1.15rem var(--serif); color: var(--hutan); padding: 0; margin-bottom: 12px; float: left; width: 100%; }
legend + * { clear: both; }
.label { font-weight: 700; margin: 0 0 6px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 4px; width: 18px; height: 18px; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--garis); border-radius: 12px; padding: 12px; cursor: pointer; font-weight: 400; background: #fff; }
.radio-card input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--hutan); flex: none; }
.radio-card:has(input:checked) { border-color: var(--hutan); background: #F1F7F2; }
.radio-card[hidden] { display: none; }
.jalur-pick { display: grid; gap: 10px; }
@media (min-width: 600px) { .jalur-pick { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } }
.opt .grow { flex: 1; }
.rincian { display: flex; flex-direction: column; color: var(--muted); margin-top: 4px; }
.grow { flex: 1; min-width: 0; }
.wilayah { display: grid; gap: 0 12px; }
@media (min-width: 720px) { .wilayah { grid-template-columns: repeat(3, 1fr); } }
.auth { max-width: 440px; }

/* Keranjang & ringkasan */
.cart-row { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--garis); align-items: center; }
.cart-row img { border-radius: 8px; width: 64px; height: 48px; object-fit: cover; }
.cart-row .qty-input { width: 80px; grid-column: 2; }
.cart-row .right { grid-column: 2; text-align: left; display: flex; gap: 12px; align-items: center; }
@media (min-width: 600px) { .cart-row { grid-template-columns: 72px 1fr 90px 130px; } .cart-row .qty-input, .cart-row .right { grid-column: auto; } .cart-row .right { flex-direction: column; align-items: flex-end; gap: 0; } }
.cart > .btn { margin-top: 12px; }
.summary .sum-row, .sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-row.total { border-top: 1px solid var(--emas); margin-top: 6px; padding-top: 10px; font-size: 1.1rem; }
.summary .btn { margin-top: 12px; }

/* Alerts & status */
.alert { border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: .92rem; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-ok { background: #E3F2E7; color: #14532D; }
.alert-err { background: #FDE8E6; color: var(--merah); }
.alert-warn { background: #FDF0D5; color: #7A4300; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; background: #EEE; white-space: nowrap; }
.st-menunggu_pembayaran { background: #FDF0D5; color: #8A4B00; }
.st-terverifikasi, .st-dipacking { background: #DDF1EE; color: var(--teal); }
.st-dititipkan, .st-dikirim, .st-siap_diambil { background: #E3ECFB; color: #1E4E9A; }
.st-selesai { background: #E3F2E7; color: var(--hutan); }
.st-dibatalkan, .st-kedaluwarsa { background: #F1F1F1; color: #666; }

/* Lacak */
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kode { font: 700 1.4rem var(--serif); color: var(--hutan); margin: 0; letter-spacing: .04em; }
.progress { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.progress li { padding-left: 28px; position: relative; color: var(--muted); font-size: .9rem; }
.progress li::before { content: ''; position: absolute; left: 4px; top: 5px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--garis); background: #fff; }
.progress li.done { color: var(--hutan); font-weight: 700; }
.progress li.done::before { background: var(--hutan); border-color: var(--hutan); }
.kode-ambil { background: var(--hutan); color: #fff; border-radius: 12px; padding: 14px; text-align: center; margin-bottom: 8px; }
.kode-ambil span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
.kode-ambil strong { font: 700 2.2rem var(--serif); letter-spacing: .25em; color: var(--emas); }
.dl { display: grid; grid-template-columns: 1fr; gap: 2px 14px; margin: 0 0 12px; }
.dl dt { font-weight: 700; font-size: .8rem; color: var(--muted); margin-top: 8px; }
.dl dd { margin: 0; }
@media (min-width: 600px) { .dl { grid-template-columns: 140px 1fr; } .dl dt { margin-top: 0; } }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--garis); }
.timeline li { padding: 0 0 12px 14px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.order-line { display: flex; justify-content: space-between; gap: 12px; text-decoration: none; color: inherit; }

/* Halaman Kenapa Bis */
.prose h2 { margin-top: 1.6em; font-size: 1.3rem; }
.prose p, .prose li { font-size: 1.02rem; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 8px; }
.prose figure { margin: 20px 0; }
.prose figure img, .photo-row img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.prose figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.photo-row img { aspect-ratio: 4/3; border-radius: 10px; }
.note { border-left: 4px solid var(--emas); margin: 24px 0; }

/* Footer */
.site-footer { color: #CFE3D5; margin-top: 40px; padding: 32px 0 16px; }
.footer-in { display: grid; gap: 20px; }
@media (min-width: 720px) { .footer-in { grid-template-columns: 1.6fr 1fr 1fr; } }

/* Halaman informasi & kebijakan */
.info-layout { display: grid; gap: 24px; }
.info-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.info-nav a { flex: none; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--garis); background: var(--putih); color: var(--teks); text-decoration: none; font-size: .875rem; font-weight: 600; }
.info-nav a[aria-current] { background: var(--hutan); border-color: var(--hutan); color: #fff; }
@media (min-width: 900px) {
  .info-layout { grid-template-columns: 240px 1fr; align-items: start; }
  .info-nav { flex-direction: column; position: sticky; top: 80px; overflow: visible; }
  .info-nav a { border-radius: 10px; }
}
.prose { max-width: 720px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose h3 { margin-top: 1.4em; font-size: 1.05rem; }
.tagline { font-family: var(--serif); color: var(--emas); font-size: 1.1rem; margin: 8px 0 4px; }
.muted-light { color: #9FBCA8; font-size: .85rem; margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: #fff; text-decoration: none; }
.copy { font-size: .8rem; color: #9FBCA8; margin-top: 20px; }

/* Admin */
.admin main { padding-bottom: 40px; }
/* Header admin: menu berjejer di desktop, bilah navigasi bawah ala aplikasi di HP/tablet */
.admin { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
.adm-top { background: #fff; border-bottom: 1px solid #ECEAE3; position: sticky; top: 0; z-index: 20; }
.adm-top-in { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.adm-top .logo { margin-right: auto; font-size: 1.2rem; white-space: nowrap; }
.adm-tool, .adm-nav a { white-space: nowrap; }
.admin .table-wrap .table { min-width: 640px; }
.setting-link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--hutan); border-left: 4px solid var(--emas-tua); }
.setting-link:hover { background: #FFFBF0; }
.kat-row { display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; align-items: end; padding: 12px 0; border-bottom: 1px solid var(--garis); }
.kat-row img { grid-row: span 2; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; align-self: center; }
.kat-row label { margin: 0; }
.kat-opsi { display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 10px; }
.kat-opsi .check { margin: 0; }
.kat-baru { border-bottom: 0; margin-bottom: 8px; }
@media (min-width: 900px) {
  .kat-row { grid-template-columns: 64px 1.4fr 90px 1.4fr auto; }
  .kat-row img { grid-row: auto; }
  .kat-baru { grid-template-columns: 64px 1.4fr 1.4fr; }
}
.foto-in { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.foto-in img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; flex: none; background: #F4F4F1; }
.foto-in label { flex: 1; margin: 0; }
.save-bar { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 5; padding: 12px; margin: 0 -4px 12px; background: rgba(247,243,233,.92); backdrop-filter: blur(6px); border-radius: 14px; text-align: right; }
@media (min-width: 1100px) { .save-bar { bottom: 12px; } }
.admin .table td img { min-width: 48px; object-fit: cover; border-radius: 8px; }
.adm-tools { display: flex; align-items: center; gap: 6px; }
.adm-tools form { margin: 0; }
.adm-tool { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; min-width: 38px; padding: 0 10px; border-radius: 99px; border: 1px solid #ECEAE3; background: #fff; color: var(--teks); font: 600 .82rem var(--sans); text-decoration: none; cursor: pointer; }
.adm-tool:hover { background: #F4F4F1; }
.adm-tool svg { width: 18px; height: 18px; }
.adm-tool span { display: none; }
.adm-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(7, 1fr);
  background: #fff; border-top: 1px solid #ECEAE3; box-shadow: 0 -4px 18px rgba(0,0,0,.06); padding: 6px 2px calc(6px + env(safe-area-inset-bottom)); }
.adm-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 2px 0; color: var(--muted); text-decoration: none; font-size: .64rem; font-weight: 600; }
.adm-nav .ic { display: grid; place-items: center; width: 44px; height: 28px; border-radius: 99px; transition: background .2s; }
.adm-nav svg { width: 21px; height: 21px; }
.adm-nav .lbl-d { display: none; }
.adm-nav a[aria-current] { color: var(--hutan); }
.adm-nav a[aria-current] .ic { background: #E3F0E5; }
.adm-badge { position: absolute; top: -2px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--merah); color: #fff; font-size: .6rem; font-weight: 700; line-height: 17px; text-align: center; }
@media (min-width: 560px) { .adm-tool span { display: inline; } }
@media (min-width: 1100px) {
  .admin { padding-bottom: 0; }
  .adm-top .logo { margin-right: 28px; }
  .adm-nav { position: static; display: flex; gap: 2px; margin-right: auto; padding: 0; border: 0; box-shadow: none; background: none; }
  .adm-nav a { flex-direction: row; gap: 6px; padding: 8px 12px; border-radius: 99px; font-size: .86rem; color: var(--teks); }
  .adm-nav a:hover { background: #F4F4F1; }
  .adm-nav .ic { width: auto; height: auto; background: none !important; }
  .adm-nav svg { width: 17px; height: 17px; }
  .adm-nav .lbl-d { display: inline; } .adm-nav .lbl-m { display: none; }
  .adm-nav a[aria-current] { background: #E3F0E5; }
  .adm-badge { position: static; margin-left: 2px; }
}
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { margin: 0; }
.stat span { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.stat strong { font: 700 1.5rem var(--serif); color: var(--hutan); }
.table-wrap { overflow-x: auto; background: var(--putih); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--garis); text-align: left; vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-bottom: 14px; }
.filters > * { flex: 1 1 160px; margin: 0; }
.filters .btn { flex: 0 0 auto; }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .span2 { grid-column: 1 / -1; } }
.row3 { display: grid; grid-template-columns: 1fr 80px auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.row3 input { margin: 0; }
.row3 .check { margin: 0; }
.cols { display: grid; gap: 14px; }
@media (min-width: 960px) { .cols { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.act { border-bottom: 1px dashed var(--garis); padding-bottom: 12px; margin-bottom: 12px; }
details > summary { cursor: pointer; padding: 4px 0; }
details[open] > summary { margin-bottom: 12px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.thumbs img { border-radius: 8px; object-fit: cover; width: 120px; height: 90px; }
/* Ajakan pasang aplikasi (PWA) */
.install-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--hutan); color: #DCEBDF;
  box-shadow: 0 10px 32px rgba(0,0,0,.25); transform: translateY(140%); transition: transform .35s ease; }
.install-bar.show { transform: none; }
.install-bar img { border-radius: 12px; flex: none; }
.install-bar strong { display: block; color: #F7F3E9; font-family: var(--serif); }
.install-bar span { display: block; font-size: .82rem; line-height: 1.4; }
.install-bar b { color: var(--kuning); }
.install-bar .btn { flex: none; }
.install-x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #F7F3E9; font-size: 1.3rem; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .install-bar { transition: none; } }

[hidden] { display: none !important; }
