/* UntungKu — tampilan ramah: huruf besar, warna lembut, tombol besar */
@font-face { font-family: 'Nunito'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/nunito-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/nunito-latin-800-normal.woff2') format('woff2'); }

:root {
  --bg: #FBF6EC;
  --card: #FFFFFF;
  --card2: #F6EFE0;
  --line: #E6DCC8;
  --ink: #2E2A25;
  --muted: #6B6358;
  --green: #2F7D5B;
  --green-d: #22604A;
  --green-l: #E3F3EA;
  --green-ink: #1D6A45;
  --red: #B3382C;
  --red-l: #FBE6E2;
  --amber-l: #FFF0CC;
  --amber-ink: #7A5200;
  --orange: #E08A2E;
  --orange-l: #FCE9CF;
  --blue-l: #E4EEF8;
  --blue-ink: #24557F;
  --radius: 18px;
  --shadow: 0 2px 10px rgba(80, 60, 20, .08);
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem; line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { line-height: 1.25; margin: 0; font-weight: 800; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .6em; }
a { color: var(--green-d); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
svg[viewBox="0 0 24 24"] { width: 1.3em; height: 1.3em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.top { align-items: flex-start; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 14px; }
.stack-s > * + * { margin-top: 8px; }
.mt { margin-top: 16px; } .mt-s { margin-top: 8px; } .mt-l { margin-top: 28px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr 1fr; } }
.pos { color: var(--green-ink); }
.neg { color: var(--red); }
.amber-text { color: var(--amber-ink); }
.bold { font-weight: 800; }
.nowrap { white-space: nowrap; }

/* ===== kerangka ===== */
.app { min-height: 100vh; display: flex; }
.side {
  display: none; width: 270px; flex: none; padding: 22px 16px; background: #F3EBD8; border-right: 1px solid var(--line);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.main { flex: 1; min-width: 0; padding: 18px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); }
.page { max-width: 820px; margin: 0 auto; }
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #FFFDF8; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: flex-end;
  box-shadow: 0 -4px 16px rgba(80, 60, 20, .07);
}
.bn-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 10px;
  text-decoration: none; color: var(--muted); font-size: .78rem; font-weight: 700; min-height: var(--nav-h); justify-content: center;
}
.bn-item svg { width: 28px; height: 28px; }
.bn-item.active { color: var(--green-d); }
.bn-item.active svg { stroke-width: 2.6; }
.bn-fab {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--green-d);
  font-size: .78rem; font-weight: 800; gap: 2px; padding-bottom: 10px; margin-top: -22px;
}
.bn-fab span.bubble {
  width: 62px; height: 62px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(47, 125, 91, .45); border: 4px solid #FFFDF8;
}
.bn-fab svg { width: 30px; height: 30px; stroke-width: 2.8; }
@media (min-width: 900px) {
  .side { display: block; }
  .bottom-nav { display: none; }
  .main { padding: 28px 32px 60px; }
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--green-d); margin-bottom: 20px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.side a.nav {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none;
  color: var(--ink); font-weight: 700; margin-bottom: 4px;
}
.side a.nav svg { width: 24px; height: 24px; flex: none; }
.side a.nav:hover { background: #EADFC6; }
.side a.nav.active { background: var(--green); color: #fff; }
.side .biz { display: flex; align-items: center; gap: 10px; padding: 12px; margin-top: 18px; background: #FFFDF8; border-radius: 14px; border: 1px solid var(--line); }

.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.topbar h1 { flex: 1; }
.back { width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.back svg { width: 24px; height: 24px; }

/* ===== kartu ===== */
.card { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border: 1px solid #F0E7D3; }
.card.soft { background: var(--card2); box-shadow: none; }
.card.green { background: var(--green-l); border-color: #CFE8DA; }
.card.red { background: var(--red-l); border-color: #F3CFC9; }
.card.amber { background: var(--amber-l); border-color: #F3E0A6; }
.card.blue { background: var(--blue-l); border-color: #CFE0F1; }
.card.link { display: block; text-decoration: none; color: inherit; }
.card.link.item { display: flex; }
.card.link:active { transform: scale(.995); }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 10px; }
.section-title h2 { font-size: 1.2rem; }

/* ===== tombol ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 10px 22px;
  border-radius: 16px; border: 2px solid transparent; font-weight: 800; font-size: 1.05rem; cursor: pointer;
  background: var(--green); color: #fff; text-decoration: none; text-align: center; line-height: 1.2;
  transition: transform .05s ease, background .15s;
}
.btn:hover { background: var(--green-d); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.soft { background: var(--green-l); color: var(--green-d); border-color: #CFE8DA; }
.btn.soft:hover { background: #D5EDE0; }
.btn.line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.line:hover { background: #FAF4E6; }
.btn.danger { background: #fff; color: var(--red); border-color: #E8B8B0; }
.btn.danger:hover { background: var(--red-l); }
.btn.orange { background: var(--orange-l); color: #7A4A0C; border-color: #F0CFA0; }
.btn.block { display: flex; width: 100%; }
.btn.small { min-height: 44px; padding: 6px 14px; font-size: .95rem; border-radius: 12px; }
.btn.icon { padding: 0; width: 48px; min-height: 48px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row > .btn { flex: 1 1 160px; }

/* ===== formulir ===== */
.field { display: block; }
.field > .lab { display: block; font-weight: 800; margin-bottom: 6px; }
.field > .hint { display: block; color: var(--muted); font-size: .9rem; margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input[type=tel], select, textarea {
  width: 100%; min-height: 56px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff;
  font-size: 1.1rem; font-weight: 600; outline: none; appearance: none; -webkit-appearance: none;
}
textarea { min-height: 96px; resize: vertical; }
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B6358' stroke-width='3' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(47, 125, 91, .18); }
input::placeholder, textarea::placeholder { color: #A39B8C; font-weight: 400; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); pointer-events: none; }
.input-prefix > input { padding-left: 48px; }
.input-suffix { position: relative; }
.input-suffix > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); pointer-events: none; }
.input-suffix > input { padding-right: 52px; }
.err-text { color: var(--red); font-weight: 700; margin-top: 6px; }
.form-error { background: var(--red-l); color: var(--red); border-radius: 14px; padding: 12px 14px; font-weight: 700; }

.stepper { display: flex; align-items: stretch; gap: 8px; }
.stepper input { text-align: center; font-size: 1.3rem; font-weight: 800; min-width: 0; }
.stepper button {
  width: 56px; flex: none; border-radius: 14px; border: 2px solid var(--line); background: #fff; font-size: 1.7rem; font-weight: 800;
  color: var(--green-d); cursor: pointer; line-height: 1;
}
.stepper button:active { background: var(--green-l); }

.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 800; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { width: 58px; height: 34px; border-radius: 20px; background: #CFC6B4; position: relative; flex: none; transition: background .15s; }
.switch .track::after { content: ''; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { left: 28px; }
.switch input:focus-visible + .track { box-shadow: 0 0 0 4px rgba(47, 125, 91, .25); }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; }
.check input { width: 28px; height: 28px; accent-color: var(--green); flex: none; }

.seg { display: flex; background: #EFE6D2; border-radius: 16px; padding: 5px; gap: 4px; }
.seg button { flex: 1; min-height: 46px; border: 0; border-radius: 12px; background: transparent; font-weight: 800; color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--green-d); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-btn { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; min-height: 44px; font-weight: 800; cursor: pointer; color: var(--ink); }
.pill-btn.on { background: var(--green); border-color: var(--green); color: #fff; }

/* ===== lencana & statistik ===== */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .88rem; background: #EEE7D6; color: var(--muted); white-space: nowrap; }
.chip.good { background: var(--green-l); color: var(--green-ink); }
.chip.warn { background: var(--amber-l); color: var(--amber-ink); }
.chip.bad { background: var(--red-l); color: var(--red); }
.chip.info { background: var(--blue-l); color: var(--blue-ink); }
.chip svg { width: 16px; height: 16px; }
.tile { background: #fff; border-radius: 16px; padding: 14px; border: 1px solid #F0E7D3; box-shadow: var(--shadow); }
.tile .k { color: var(--muted); font-weight: 700; font-size: .9rem; }
.tile .v { font-size: 1.35rem; font-weight: 800; margin-top: 2px; word-break: break-word; }
.tile .s { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.hero { border-radius: 22px; padding: 22px 20px; background: linear-gradient(135deg, #2F7D5B, #3E9570); color: #fff; box-shadow: 0 8px 22px rgba(47,125,91,.28); }
.hero.loss { background: linear-gradient(135deg, #B3382C, #C65A40); box-shadow: 0 8px 22px rgba(179,56,44,.25); }
.hero .big { font-size: 2.3rem; font-weight: 800; line-height: 1.15; margin: 4px 0; word-break: break-word; }
.hero .lab { opacity: .92; font-weight: 700; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--muted); font-weight: 700; }
.kv .v { font-weight: 800; text-align: right; }
.kv.total { border-top: 2px solid var(--line); border-bottom: 0; font-size: 1.1rem; }
.kv.total .k { color: var(--ink); }

.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--green-l); color: var(--green-d); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; flex: none; overflow: hidden; }
.avatar.xl { width: 112px; height: 112px; font-size: 2.6rem; }
.thumb { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; background: var(--card2); flex: none; display: grid; place-items: center; color: #B7A98A; overflow: hidden; }
.thumb svg { width: 34px; height: 34px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.photo-grid .ph { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--card2); cursor: pointer; }
.photo-grid .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .ph .x { position: absolute; top: 6px; right: 6px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.photo-grid .ph .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: .8rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

/* ===== daftar ===== */
.list > * + * { margin-top: 12px; }
.item { display: flex; gap: 14px; align-items: center; }
.item .t { font-weight: 800; font-size: 1.08rem; }
.item .m { color: var(--muted); font-size: .92rem; }

/* ===== langkah catat ===== */
.steps { display: flex; gap: 6px; margin-bottom: 16px; }
.steps .st { flex: 1; text-align: center; font-size: .78rem; font-weight: 800; color: var(--muted); }
.steps .st .bar { height: 8px; border-radius: 6px; background: #E8DFCB; margin-bottom: 6px; }
.steps .st.done .bar, .steps .st.cur .bar { background: var(--green); }
.steps .st.cur { color: var(--green-d); }
.steps .st.clickable { cursor: pointer; }
.sticky-actions { position: sticky; bottom: calc(var(--nav-h) + 8px + env(safe-area-inset-bottom)); z-index: 10; margin-top: 18px; }
@media (min-width: 900px) { .sticky-actions { bottom: 12px; } }
.sticky-actions .inner { background: rgba(251,246,236,.94); backdrop-filter: blur(6px); padding: 10px; border-radius: 20px; box-shadow: 0 -2px 14px rgba(80,60,20,.12); border: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.sticky-actions .info { flex: 1; min-width: 0; font-size: .85rem; font-weight: 700; color: var(--muted); line-height: 1.25; }
.sticky-actions .info b { display: block; font-size: 1.05rem; color: var(--ink); }
.line-card { border: 2px solid var(--line); border-radius: 18px; padding: 14px; background: #fff; }
.line-card.off { opacity: .7; background: #FAF5EA; }
.note-box { border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: .95rem; }
.note-box.good { background: var(--green-l); color: var(--green-ink); }
.note-box.warn { background: var(--amber-l); color: var(--amber-ink); }
.note-box.bad { background: var(--red-l); color: var(--red); }
.note-box.info { background: var(--blue-l); color: var(--blue-ink); }
details.more > summary { cursor: pointer; font-weight: 800; color: var(--green-d); padding: 10px 0; min-height: 44px; list-style: none; display: flex; align-items: center; gap: 8px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: '＋'; font-weight: 800; }
details.more[open] > summary::before { content: '－'; }

.price-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.price-tiers.four { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .price-tiers.four { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .price-tiers:not(.four) { grid-template-columns: 1fr; } }
.tier { font: inherit; color: inherit; border: 2px solid var(--line); border-radius: 16px; padding: 12px; text-align: center; background: #fff; cursor: pointer; }
.tier.rec { border-color: var(--green); background: var(--green-l); }
.tier .n { font-weight: 800; font-size: .9rem; color: var(--muted); }
.tier .p { font-weight: 800; font-size: 1.35rem; }
.tier .u { font-size: .85rem; color: var(--muted); font-weight: 700; }
.tier:active { transform: scale(.98); }

/* ===== grafik ===== */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 8px; }
.bars .b { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.bars .b .col { width: 100%; max-width: 40px; border-radius: 8px 8px 3px 3px; background: var(--green); min-height: 3px; }
.bars .b .col.neg { background: var(--red); border-radius: 3px 3px 8px 8px; }
.bars .b .lb { font-size: .72rem; font-weight: 700; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.bars .b.nodata .col { background: #E4DAC4; }
.hbar { height: 12px; border-radius: 8px; background: #EEE6D2; overflow: hidden; }
.hbar > i { display: block; height: 100%; background: var(--green); border-radius: 8px; }
.hbar.red > i { background: var(--red); }
.hbar.orange > i { background: var(--orange); }
table.t { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.t th { text-align: left; color: var(--muted); font-weight: 800; padding: 8px 6px; border-bottom: 2px solid var(--line); font-size: .85rem; }
table.t td { padding: 10px 6px; border-bottom: 1px solid #F0E7D3; vertical-align: top; }
table.t td.r, table.t th.r { text-align: right; }
.scroll-x { overflow-x: auto; }

/* ===== modal & toast ===== */
.overlay { position: fixed; inset: 0; background: rgba(40, 30, 10, .5); z-index: 100; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { background: var(--bg); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 26px 26px 0 0; padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); animation: up .2s ease; }
@media (min-width: 700px) { .overlay { align-items: center; } .sheet { border-radius: 26px; } }
.sheet h2 { margin-bottom: 14px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.toast-wrap { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom)); z-index: 200; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
@media (min-width: 900px) { .toast-wrap { bottom: 28px; } }
.toast { background: #2E2A25; color: #fff; padding: 14px 20px; border-radius: 16px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.3); max-width: 520px; animation: up .2s ease; }
.toast.err { background: var(--red); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 150; display: grid; place-items: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 14px; }

/* ===== layar masuk ===== */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 20% 0%, #F1E6C9 0, transparent 55%), var(--bg); }
.auth .box { width: 100%; max-width: 440px; }
.auth .logo { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 12px; box-shadow: var(--shadow); }
.spinner { width: 34px; height: 34px; border: 4px solid #E4DAC4; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 28px 12px; color: var(--muted); }
.empty svg { width: 64px; height: 64px; color: #C9BA97; margin: 0 auto 10px; }
.empty b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.checklist .ck { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 700; text-decoration: none; color: var(--ink); }
.checklist .ck .dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; background: #fff; }
.checklist .ck.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.checklist .ck.done span.tx { color: var(--muted); text-decoration: line-through; }
.checklist .ck .dot svg { width: 18px; height: 18px; }
@media print { .side, .bottom-nav, .btn, .sticky-actions { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* cegah halaman melebar ke samping */
.main, .page, .card, .stack > *, .grid2 > *, .grid3 > * { min-width: 0; }
.main { overflow-x: hidden; }
input[type=date] { min-width: 0; }
.bars .b .lb { font-size: .7rem; overflow: visible; max-width: 100%; text-align: center; min-height: 1em; }
.bars { overflow: hidden; }
.bars .b { flex: 1 1 0; width: 0; min-width: 0; }
.bars .b .lb { width: 0; display: flex; justify-content: center; overflow: visible; white-space: nowrap; }

/* ===== banner nama toko ===== */
.shop-hero {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px;
  padding: 16px 14px 16px 16px; margin-bottom: 18px; border-radius: 24px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #1D6847 0%, #2F8F66 55%, #52B184 100%);
  box-shadow: 0 10px 24px rgba(31, 107, 75, .28);
}
.shop-hero .deco { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .10); pointer-events: none; }
.shop-hero .d1 { width: 150px; height: 150px; right: -40px; top: -60px; }
.shop-hero .d2 { width: 90px; height: 90px; right: 50px; bottom: -48px; background: rgba(255, 255, 255, .07); }
.shop-hero .avatar.ring { width: 62px; height: 62px; border: 3px solid rgba(255, 255, 255, .9); background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); position: relative; }
.shop-hero .txt { flex: 1; min-width: 0; position: relative; }
.shop-hero .hi { font-size: .85rem; font-weight: 700; opacity: .9; letter-spacing: .2px; }
.shop-hero .name { font-size: 1.45rem; font-weight: 800; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.shop-hero .name.long { font-size: 1.2rem; }
.shop-hero .sub { font-size: .88rem; font-weight: 600; opacity: .92; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-hero > svg { position: relative; opacity: .85; }
.shop-hero:active { transform: scale(.995); }
@media (min-width: 900px) { .shop-hero .name { font-size: 1.7rem; } .shop-hero { padding: 20px 22px; } }

/* ===== layar masuk / setup ===== */
.auth { align-items: start; padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
@media (min-height: 760px) { .auth { align-items: center; } }
.auth-lang { display: flex; justify-content: center; }
.lang-seg { max-width: 360px; width: 100%; }
.lang-seg button { min-height: 44px; font-size: .95rem; }
.req { color: var(--red); font-weight: 800; }
.ellip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linklike { background: none; border: 0; padding: 12px 16px; min-height: 48px; font-weight: 800; color: var(--green-d); text-decoration: underline; cursor: pointer; }

/* tautan teks mudah disentuh di HP */
.section-title > a, .small > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 800; }

/* ---- pilihan jenis usaha ---- */
.kind-grid { display: grid; gap: 10px; }
.kind { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; padding: 12px 14px; min-height: 64px; border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.kind .e { font-size: 1.8rem; line-height: 1; flex: none; }
.kind .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kind.on { border-color: var(--green); background: var(--green-l); box-shadow: 0 0 0 2px rgba(47,125,91,.15); }

/* ---- rincian harga ---- */
:root { --sg-base: #6C8FB8; --sg-ppn: #E0A53A; --sg-ship: #8E7CC3; --sg-other: #B9A27A; --sg-ops: #7DAE9C; --sg-waste: #C9B8A0; --sg-fee: #D98B7A; --sg-profit: #2F7D5B; }
.bd-price { display: flex; justify-content: space-between; align-items: baseline; }
.bd-price b { font-size: 1.6rem; }
.bd-title { font-weight: 800; }
.stackbar { display: flex; height: 22px; border-radius: 11px; overflow: hidden; background: #EFE6D2; gap: 2px; }
.stackbar span { display: block; min-width: 3px; }
.sg-base { background: var(--sg-base); } .sg-ppn { background: var(--sg-ppn); } .sg-ship { background: var(--sg-ship); }
.sg-other { background: var(--sg-other); } .sg-ops { background: var(--sg-ops); } .sg-waste { background: var(--sg-waste); }
.sg-fee { background: var(--sg-fee); } .sg-profit { background: var(--sg-profit); }
.bd-list { display: flex; flex-direction: column; }
.bd-row, .bd-sub { display: grid; grid-template-columns: 14px 1fr auto 58px; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.bd-row .dot { width: 12px; height: 12px; border-radius: 4px; }
.bd-row .lb, .bd-sub .lb { font-weight: 700; line-height: 1.25; }
.bd-row .am, .bd-sub .am { font-weight: 800; text-align: right; white-space: nowrap; }
.bd-row .pc, .bd-sub .pc { color: var(--muted); font-weight: 700; text-align: right; font-size: .9rem; }
.bd-sub { grid-template-columns: 1fr auto 58px; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); background: var(--card2); padding: 10px 8px; margin: 2px 0; border-radius: 8px; }
.bd-row.strong .lb, .bd-row.strong .am { color: var(--green-d); font-size: 1.05rem; }
.bd-profit { border-radius: 16px; padding: 14px; text-align: center; }
.bd-profit.good { background: var(--green-l); color: var(--green-ink); }
.bd-profit.bad { background: var(--red-l); color: var(--red); }
.bd-profit .big { font-size: 1.35rem; font-weight: 800; }
.bd-profit .two { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.bd-ppn { border: 2px dashed var(--line); border-radius: 14px; padding: 4px 12px; }
.bd-ppn .bd-row { grid-template-columns: 1fr auto; }
.bd-ppn .bd-row:last-child { border-bottom: 0; }
