/* =========================================================
   Pakai Lagi — tema Hitam Arang + Lime
   ========================================================= */
:root {
  --ink: #1C1C1E;
  --ink-2: #2C2C2F;
  --ink-3: #3A3A3E;
  --lime: #C6F432;
  --lime-2: #B3E01F;
  --lime-d: #5C7A06;
  --lime-l: #EEFBC4;
  --bg: #F4F5F0;
  --card: #FFFFFF;
  --line: #E2E4DB;
  --mut: #6A6D64;
  --danger: #D23F3F;
  --danger-l: #FDECEC;
  --warn: #B87A00;
  --warn-l: #FFF4D6;
  --ok: #2F8A3E;
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(28,28,30,.04), 0 8px 24px rgba(28,28,30,.06);
  --font-h: "Poppins", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-b); font-size: 15px; line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.6vw, 48px); font-weight: 700; }
h2 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--mut); }
.small { font-size: 13px; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: baseline; font-family: var(--font-h); font-weight: 700; font-size: 24px; letter-spacing: -.02em; text-decoration: none; color: #fff; line-height: 1; white-space: nowrap; }
.logo .ring { width: .7em; height: .7em; margin: 0 .03em; align-self: center; transform: translateY(.1em); }
.logo .ring path { stroke: var(--lime); }
.logo .ring path.h { fill: var(--lime); }
.logo.dark { color: var(--ink); }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .bar { display: flex; align-items: center; gap: 18px; height: 66px; }
.site-header nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.site-header nav a { color: #D6D7D2; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 14px; }
.site-header nav a:hover, .site-header nav a.active { color: #fff; background: var(--ink-3); }
.head-search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.head-search input { width: 100%; height: 40px; border-radius: 999px; border: 1px solid var(--ink-3); background: var(--ink-2); color: #fff; padding: 0 14px 0 38px; font: inherit; font-size: 14px; }
.head-search input::placeholder { color: #9A9C95; }
.head-search input:focus { outline: none; border-color: var(--lime); }
.head-search > .ico { position: absolute; left: 13px; top: 11px; color: #9A9C95; }
.head-actions { display: flex; align-items: center; gap: 8px; }
.user-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink-2); border: 1px solid var(--ink-3); color: #fff; height: 40px; padding: 0 12px 0 6px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; font-family: var(--font-h); flex: none; }
.menu-pop { position: absolute; right: 16px; top: 62px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.18); padding: 8px; min-width: 220px; z-index: 60; }
.menu-pop a, .menu-pop button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; border: 0; background: none; font: inherit; font-size: 14px; cursor: pointer; color: inherit; text-align: left; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--bg); }
.menu-pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.menu-pop .who { padding: 8px 12px 10px; font-size: 13px; color: var(--mut); }
.menu-pop .who b { display: block; color: var(--ink); font-size: 14px; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.burger .ico { width: 24px; height: 24px; }
.mobile-search { display: none; padding-bottom: 12px; }

@media (max-width: 860px) {
  .site-header nav, .head-actions .btn-sell, .head-search.desk { display: none; }
  .burger { display: block; margin-left: auto; }
  .mobile-search { display: block; }
  .mobile-search .head-search { max-width: none; margin: 0; }
  .head-actions .user-btn span.name { display: none; }
}

/* drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: var(--ink); color: #fff; z-index: 81; padding: 18px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.drawer .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer a, .drawer button.link { display: flex; align-items: center; gap: 12px; color: #E4E5E0; text-decoration: none; padding: 12px; border-radius: 12px; font-size: 15px; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.drawer a:hover, .drawer button.link:hover { background: var(--ink-3); color: #fff; }
.drawer hr { border: 0; border-top: 1px solid var(--ink-3); margin: 8px 0; width: 100%; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none; transition: transform .08s, background .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-white:hover { border-color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger-ghost { background: transparent; color: var(--danger); border-color: #F1C4C4; }
.btn-danger-ghost:hover { background: var(--danger-l); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-xs { height: 30px; padding: 0 11px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn-sm.btn-icon { width: 36px; }
.btn-wa { background: #1FAF54; color: #fff; }
.btn-wa:hover { background: #18984A; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 600; font-size: 14px; }
.field .hint { font-size: 12.5px; color: var(--mut); }
.input, .select, .textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime-l); }
.input-pre { display: flex; align-items: stretch; }
.input-pre span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: var(--radius-s) 0 0 var(--radius-s); background: var(--bg); font-weight: 600; color: var(--mut); }
.input-pre .input { border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 2px; flex: none; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px var(--lime-l); }
.err-text { color: var(--danger); font-size: 13px; }

/* ---------- Cards / panels ---------- */
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.panel + .panel { margin-top: 16px; }
.section { padding-top: 34px; padding-bottom: 34px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-more:hover { text-decoration: underline; }
.page-head { padding: 28px 0 8px; }
.page-head p { color: var(--mut); margin: 0; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--ink); white-space: nowrap; }
.badge.lime { background: var(--lime); color: var(--ink); }
.badge.dark { background: var(--ink); color: #fff; }
.badge.cond-seperti_baru { background: #E3F6D6; color: #2D6B12; }
.badge.cond-baik { background: #E7F0FB; color: #20508E; }
.badge.cond-layak_pakai { background: #FFF1D9; color: #8A5A00; }
.badge.st-aktif { background: #E3F6D6; color: #2D6B12; }
.badge.st-terjual { background: var(--ink); color: #fff; }
.badge.st-diturunkan { background: var(--danger-l); color: var(--danger); }
.badge.st-kedaluwarsa { background: var(--warn-l); color: var(--warn); }

/* ---------- Hero ---------- */
.hero { padding: 22px 0 8px; }
.hero-box { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(24px, 5vw, 56px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; align-items: center; }
.hero-box h1 { color: #fff; max-width: 14ch; }
.hero-box h1 em { font-style: normal; color: var(--lime); }
.hero-box p.lead { color: #C9CAC4; font-size: 16.5px; max-width: 46ch; }
.hero-search { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; max-width: 520px; margin-top: 18px; }
.hero-search input { flex: 1; border: 0; font: inherit; font-size: 15px; padding: 0 14px; min-width: 0; background: transparent; color: var(--ink); }
.hero-search input:focus { outline: none; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-chips a { color: #E4E5E0; text-decoration: none; font-size: 13px; padding: 6px 12px; border: 1px solid var(--ink-3); border-radius: 999px; }
.hero-chips a:hover { border-color: var(--lime); color: var(--lime); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 320px; justify-self: end; width: 100%; }
.hero-art svg.big-ring { width: 100%; height: 100%; }
.hero-art .stat { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 13px; }
.hero-art .stat b { display: block; font-family: var(--font-h); font-size: 17px; }
.hero-art .s1 { left: -8%; top: 12%; }
.hero-art .s2 { right: -4%; bottom: 10%; }
@media (max-width: 760px) {
  .hero-box { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
}

/* banner */
.promo { border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.promo.lime { background: var(--lime); color: var(--ink); }
.promo.dark { background: var(--ink-2); color: #fff; }
.promo h3 { margin: 0 0 2px; font-size: 18px; }
.promo p { margin: 0; opacity: .85; font-size: 14px; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
.cat { background: #fff; border-radius: 16px; padding: 16px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; border: 1.5px solid transparent; transition: border-color .15s, transform .15s; box-shadow: var(--shadow); }
.cat:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat .emo { font-size: 26px; width: 48px; height: 48px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; }
.cat b { font-size: 14.5px; font-weight: 600; }
.cat.free .emo { background: var(--lime); }

/* item grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.card { background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(28,28,30,.05), 0 16px 34px rgba(28,28,30,.10); }
.card .ph { aspect-ratio: 1; background: #ECEDE7; position: relative; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph .badge { position: absolute; left: 10px; top: 10px; }
.card .ph .badge.r { left: auto; right: 10px; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .price { font-family: var(--font-h); font-weight: 700; font-size: 17px; }
.card .price.free { color: var(--lime-d); }
.card .title { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.card .meta { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .meta span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .card .body { padding: 10px 11px 12px; } .card .price { font-size: 15.5px; } .card .title { font-size: 13px; } }

.skeleton { background: linear-gradient(90deg, #ECEDE7 25%, #F5F6F1 50%, #ECEDE7 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 16px; }
.skeleton.card-sk { aspect-ratio: .78; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty { text-align: center; padding: 48px 20px; color: var(--mut); }
.empty .em-ico { width: 64px; height: 64px; border-radius: 20px; background: #fff; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: var(--shadow); font-size: 28px; }
.empty h3 { color: var(--ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step .n { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: var(--font-h); font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--mut); margin: 0; font-size: 14px; }
.cta-band { background: var(--lime); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; }

/* ---------- Katalog ---------- */
.cat-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 40px; }
.filters { position: sticky; top: 82px; }
.filters h3 { font-size: 15px; margin: 0 0 10px; }
.filters .grp { padding: 14px 0; border-top: 1px solid var(--line); }
.filters .grp:first-of-type { border-top: 0; padding-top: 0; }
.filters .seg span { padding: 7px 12px; font-size: 13px; }
.filter-toggle { display: none; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .select { width: auto; padding: 8px 12px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-size: 12.5px; padding: 5px 8px 5px 12px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; }
.chip .ico { width: 14px; height: 14px; }
@media (max-width: 860px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 86vh; overflow-y: auto; z-index: 90; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .25s; }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
}
.load-more { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- Detail ---------- */
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--mut); padding: 18px 0 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 26px; align-items: start; padding-bottom: 40px; }
@media (max-width: 860px) { .detail { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.gallery .main { aspect-ratio: 1; background: #ECEDE7; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; background: #ECEDE7; }
.gallery .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.gallery .nav.prev { left: 12px; } .gallery .nav.next { right: 12px; }
.gallery .count { position: absolute; right: 12px; bottom: 12px; background: rgba(28,28,30,.8); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { width: 72px; height: 72px; flex: none; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #ECEDE7; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.d-title { font-size: clamp(22px, 3vw, 30px); margin: 8px 0 6px; }
.d-price { font-family: var(--font-h); font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.d-price.free { color: var(--lime-d); }
.info-list { display: grid; gap: 0; margin: 4px 0 16px; }
.info-list div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.info-list dt, .info-list .k { color: var(--mut); display: flex; align-items: center; gap: 8px; }
.info-list .v { font-weight: 600; text-align: right; }
.defects { background: var(--warn-l); border-radius: var(--radius-s); padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.defects b { display: block; margin-bottom: 2px; color: var(--warn); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.desc { white-space: pre-line; font-size: 14.5px; }
.seller { display: flex; align-items: center; gap: 12px; }
.seller .avatar { width: 46px; height: 46px; font-size: 18px; }
.actions-row { display: flex; gap: 8px; margin-top: 12px; }
.actions-row .btn-wa { flex: 1; }
.notice { border-radius: var(--radius-s); padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.notice.warn { background: var(--warn-l); color: #6E4A00; }
.notice.danger { background: var(--danger-l); color: #8D2525; }
.notice.dark { background: var(--ink); color: #fff; }
.notice.lime { background: var(--lime-l); color: #3A4D05; }
.notice .ico { margin-top: 2px; }
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--mut); }
.tips li { display: flex; gap: 8px; }
.tips li .ico { color: var(--lime-d); margin-top: 3px; }

/* ---------- Auth ---------- */
.auth-wrap { display: grid; place-items: center; padding: 36px 16px 56px; }
.auth-card { width: 100%; max-width: 440px; }
.tabs { display: flex; background: #E8E9E3; border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.tabs button { flex: 1; border: 0; background: none; font: inherit; font-weight: 600; font-size: 14px; padding: 9px; border-radius: 999px; cursor: pointer; color: var(--mut); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--mut); cursor: pointer; font-size: 12.5px; font-weight: 600; padding: 6px; }

/* ---------- Form pasang ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; padding-bottom: 40px; }
@media (max-width: 900px) { .form-layout { grid-template-columns: minmax(0, 1fr); } .form-layout aside { position: static !important; } }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.photo-slot { aspect-ratio: 1; border-radius: 14px; overflow: hidden; position: relative; background: #ECEDE7; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot .x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(28,28,30,.85); color: #fff; display: grid; place-items: center; cursor: pointer; }
.photo-slot .cover { position: absolute; left: 6px; bottom: 6px; }
.photo-slot .mk { position: absolute; left: 6px; bottom: 6px; border: 0; background: rgba(255,255,255,.92); font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; cursor: pointer; }
.photo-add { aspect-ratio: 1; border-radius: 14px; border: 2px dashed #C9CCBF; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; color: var(--mut); font-size: 13px; font-weight: 600; background: #fff; }
.photo-add:hover { border-color: var(--ink); color: var(--ink); }
.photo-add .ico { width: 26px; height: 26px; }
.progress { height: 6px; background: #E8E9E3; border-radius: 999px; overflow: hidden; margin-top: 10px; }
.progress div { height: 100%; background: var(--lime-d); width: 0; transition: width .2s; }

/* ---------- Barang saya / list rows ---------- */
.tabs-line { display: flex; gap: 4px; border-bottom: 1.5px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs-line button, .tabs-line a { border: 0; background: none; font: inherit; font-weight: 600; font-size: 14px; padding: 10px 14px; cursor: pointer; color: var(--mut); border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; white-space: nowrap; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.tabs-line .on { color: var(--ink); border-bottom-color: var(--ink); }
.tabs-line .cnt { background: var(--bg); border-radius: 999px; padding: 0 7px; font-size: 12px; }
.tabs-line .on .cnt { background: var(--lime); }
.rows { display: grid; gap: 10px; }
.row-item { background: #fff; border-radius: 16px; padding: 12px; display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.row-item .thumb { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: #ECEDE7; }
.row-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-item h4 { font-family: var(--font-b); font-size: 15px; font-weight: 600; margin: 0 0 2px; }
.row-item h4 a { text-decoration: none; }
.row-item h4 a:hover { text-decoration: underline; }
.row-item .sub { font-size: 13px; color: var(--mut); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.row-item .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) {
  .row-item { grid-template-columns: 64px 1fr; }
  .row-item .thumb { width: 64px; height: 64px; }
  .row-item .acts { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ---------- Admin ---------- */
.admin-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; padding: 22px 0 40px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 82px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: 14px; color: var(--mut); }
.admin-nav a:hover { background: #fff; color: var(--ink); }
.admin-nav a.on { background: var(--ink); color: #fff; }
.admin-nav a .cnt { margin-left: auto; background: var(--lime); color: var(--ink); border-radius: 999px; font-size: 11.5px; padding: 0 7px; font-weight: 700; }
@media (max-width: 860px) {
  .admin-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-nav { flex-direction: row; overflow-x: auto; position: static; }
  .admin-nav a { white-space: nowrap; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat-card { background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.stat-card .k { font-size: 13px; color: var(--mut); }
.stat-card .v { font-family: var(--font-h); font-size: 28px; font-weight: 700; }
.stat-card.hl { background: var(--ink); color: #fff; }
.stat-card.hl .k { color: #B9BBB3; }
.stat-card.hl .v { color: var(--lime); }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t th { text-align: left; font-weight: 600; color: var(--mut); font-size: 12.5px; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #FAFBF7; }
table.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t .acts { display: flex; gap: 6px; flex-wrap: wrap; }
table.t input.input, table.t select.select { padding: 7px 9px; font-size: 13.5px; min-width: 80px; }
.toolbar-admin { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.toolbar-admin .input, .toolbar-admin .select { width: auto; padding: 8px 12px; font-size: 14px; }
.toolbar-admin .input { flex: 1; min-width: 180px; }

/* ---------- Dialog / toast ---------- */
dialog.dlg { border: 0; border-radius: 22px; padding: 0; width: min(460px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(0,0,0,.3); color: var(--ink); }
dialog.dlg::backdrop { background: rgba(28,28,30,.55); }
.dlg .dh { padding: 20px 22px 6px; display: flex; justify-content: space-between; align-items: center; }
.dlg .dh h3 { margin: 0; }
.dlg .db { padding: 8px 22px 6px; }
.dlg .df { padding: 12px 22px 20px; display: flex; gap: 8px; justify-content: flex-end; }
.dlg .x { border: 0; background: var(--bg); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: flex; gap: 10px; align-items: center; animation: tin .2s ease-out; }
.toast.ok .ico { color: var(--lime); }
.toast.err { background: var(--danger); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }

.fab { position: fixed; right: 16px; bottom: 18px; z-index: 40; display: none; box-shadow: 0 10px 28px rgba(28,28,30,.3); height: 52px; padding: 0 20px; }
@media (max-width: 860px) { .fab { display: inline-flex; } }

.setup-warn { background: var(--warn-l); color: #6E4A00; font-size: 13.5px; padding: 10px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9BBB3; margin-top: 48px; padding: 40px 0 0; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding-bottom: 28px; }
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; font-family: var(--font-b); font-weight: 600; }
.site-footer a { color: #B9BBB3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .tag { margin-top: 10px; max-width: 34ch; }
.credit { border-top: 1px solid var(--ink-3); padding: 16px 0 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.credit .tk { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.credit .tk b { color: var(--lime); }
.credit .tk:hover b { text-decoration: underline; }

/* ---------- Prose (tentang) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 6px 0; }
details.faq { background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); margin-bottom: 10px; }
details.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--mut); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; color: var(--mut); font-size: 14.5px; }

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat { padding: 12px 10px; gap: 8px; align-items: center; text-align: center; }
  .cat .emo { width: 42px; height: 42px; font-size: 22px; }
  .cat b { font-size: 12.5px; }
  .hero-search .btn { padding: 0 16px; }
  .section { padding-top: 26px; padding-bottom: 26px; }
}

/* =========================================================
   v2 — interaksi & animasi
   ========================================================= */
.fab, .burger, .drawer, .drawer-bg { display: none !important; }
html { scroll-behavior: smooth; }
::selection { background: var(--lime); color: var(--ink); }

/* reveal saat digulir */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* animasi dasar */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198,244,50,.6); } 100% { box-shadow: 0 0 0 10px rgba(198,244,50,0); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes shake { 10%,90% { transform: translateX(-1px); } 20%,80% { transform: translateX(3px); } 30%,50%,70% { transform: translateX(-5px); } 40%,60% { transform: translateX(5px); } }
@keyframes glow { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,20px) scale(1.15); } }
.spin { animation: spin 22s linear infinite; }
.spin-slow { animation: spin 50s linear infinite; }
.float { animation: floaty 4.5s ease-in-out infinite; }
.float.d2 { animation-delay: -1.5s; } .float.d3 { animation-delay: -3s; }
.shake { animation: shake .45s; }

/* tombol loading */
.btn.loading { color: transparent !important; position: relative; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-color: var(--ink) transparent var(--ink) transparent; animation: spin .8s linear infinite; }
.btn-dark.loading::after { border-color: #fff transparent #fff transparent; }
.btn:hover:not([disabled]) { transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero-box { isolation: isolate; }
.hero-glow { position: absolute; width: 520px; height: 520px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(198,244,50,.28), transparent 65%); z-index: -1; animation: glow 12s ease-in-out infinite; }
.hero-copy h1 { margin-top: 16px; }
.pulse-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.6s infinite; }
.lead .rot { display: inline-block; color: var(--lime); font-weight: 600; border-bottom: 2px dashed rgba(198,244,50,.5); transition: opacity .28s, transform .28s; }
.lead .rot.out { opacity: 0; transform: translateY(-8px); }
.hero-search { align-items: center; padding-left: 16px; }
.hero-search > .ico { color: var(--mut); }
.hero-art .s3 { left: 8%; bottom: -2%; font-size: 13px; }
.hero-art .stat { transition: transform .2s; }

/* banner */
.promo { position: relative; overflow: hidden; }
.promo-ring { position: absolute; right: -30px; top: -40px; width: 160px; height: 160px; opacity: .12; pointer-events: none; }
.promo-ring svg { width: 100%; height: 100%; animation: spin 30s linear infinite; }
.promo-ring path { stroke: currentColor; } .promo-ring path.h { fill: currentColor; }
.promo > div:not(.promo-ring), .promo > a { position: relative; }

/* kategori */
.cat .emo { transition: transform .25s; }
.cat:hover .emo { transform: rotate(-8deg) scale(1.12); }

/* ---------- kartu ---------- */
.card .ph img { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.card:hover .ph img { transform: scale(1.06); }
.card .ph .tl { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.card .ph .tl .badge { position: static; }
.card .ph .badge.cond { position: absolute; left: 10px; top: auto; bottom: 10px; }
.card .meta.sub { padding-top: 2px; justify-content: space-between; gap: 8px; }
.card .meta.sub span { display: inline-flex; align-items: center; gap: 3px; }
.fav-btn { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .15s, background .15s; color: var(--ink); }
.fav-btn:hover { transform: scale(1.1); }
.fav-btn .ico { width: 18px; height: 18px; }
.fav-btn.on, .fav-btn-lg.on { background: var(--lime); }
.fav-btn.on .ico, .fav-btn-lg.on .ico { fill: var(--ink); }
.pop { animation: pop .4s; }

/* geser horizontal */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.hscroll > * { scroll-snap-align: start; }
.scroll-btns { display: flex; gap: 6px; }
@media (max-width: 560px) { .hscroll { grid-auto-columns: 46%; } .scroll-btns { display: none; } }

/* pita statistik */
.stats-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0; }
.stats-band div { text-align: center; }
.stats-band b { display: block; font-family: var(--font-h); font-size: clamp(26px, 4vw, 40px); color: var(--lime); line-height: 1.1; }
.stats-band span { color: #B9BBB3; font-size: 13px; }
@media (max-width: 640px) { .stats-band { grid-template-columns: 1fr 1fr; padding: 20px; } }
.cta-band { position: relative; overflow: hidden; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .cta-ring { position: absolute; right: -60px; bottom: -90px; width: 280px; height: 280px; z-index: 0; }

/* ---------- pencarian langsung ---------- */
.head-search { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.2); padding: 6px; z-index: 70; max-height: 70vh; overflow-y: auto; }
.suggest a { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.suggest a:hover { background: var(--bg); }
.suggest a img, .suggest a > span:first-child { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #ECEDE7; }
.suggest a .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest a.all { grid-template-columns: auto 1fr; font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.suggest .none { padding: 14px; color: var(--mut); font-size: 14px; }

/* ---------- navigasi bawah (HP) ---------- */
.bottom-nav { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(28,28,30,.96); backdrop-filter: blur(10px); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ink-3); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #9A9C95; text-decoration: none; font-size: 11px; font-weight: 500; background: none; border: 0; font-family: inherit; cursor: pointer; padding: 4px 0; }
  .bottom-nav .ico { width: 22px; height: 22px; }
  .bottom-nav .on { color: var(--lime); }
  .bottom-nav .sell i { width: 46px; height: 46px; border-radius: 16px; background: var(--lime); color: var(--ink); display: grid; place-items: center; margin-top: -22px; box-shadow: 0 6px 18px rgba(198,244,50,.35); transition: transform .15s; }
  .bottom-nav .sell:active i { transform: scale(.92); }
  .bottom-nav .sell span { color: #fff; }
  .site-footer { margin-bottom: 0; }
  .toasts { bottom: 86px; }
}
.avatar.sm { width: 24px; height: 24px; font-size: 11px; }
.avatar.xl { width: 72px; height: 72px; font-size: 30px; }
.menu-pop { position: absolute; }

/* ---------- katalog ---------- */
.pills { display: inline-flex; background: #E8E9E3; border-radius: 999px; padding: 4px; gap: 2px; overflow-x: auto; max-width: 100%; }
.pills button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; cursor: pointer; color: var(--mut); white-space: nowrap; transition: background .15s, color .15s; }
.pills button.on { background: var(--ink); color: #fff; }
.fcount:empty { display: none; }
.fcount { background: var(--lime); color: var(--ink); border-radius: 999px; font-size: 11px; padding: 0 7px; font-weight: 700; }
.chip.ghost { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sheet-bg { position: fixed; inset: 0; background: rgba(28,28,30,.5); z-index: 89; }
@media (min-width: 861px) { .sheet-bg { display: none; } .grp.filter-toggle { display: none; } }
.sentinel { height: 40px; display: grid; place-items: center; }
.dots-load { display: none; gap: 6px; }
.sentinel.loading .dots-load { display: inline-flex; }
.dots-load i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: floaty .9s ease-in-out infinite; }
.dots-load i:nth-child(2) { animation-delay: .15s; } .dots-load i:nth-child(3) { animation-delay: .3s; }
.end-note { text-align: center; color: var(--mut); font-size: 14px; margin: 18px 0 0; }

/* sakelar */
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .sw { width: 42px; height: 24px; border-radius: 999px; background: #D5D7CE; position: relative; flex: none; transition: background .2s; }
.switch .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s cubic-bezier(.3,1.4,.6,1); }
.switch input:checked + .sw { background: var(--ink); }
.switch input:checked + .sw::after { transform: translateX(18px); background: var(--lime); }
.switch input:focus-visible + .sw { box-shadow: 0 0 0 3px var(--lime-l); }
.seg span { transition: background .15s, color .15s, border-color .15s, transform .1s; }
.seg label:active span { transform: scale(.96); }
.seg.col { flex-direction: column; align-items: flex-start; }

/* ---------- detail ---------- */
.gallery .main { touch-action: pan-y; cursor: zoom-in; }
.gallery .track { display: flex; height: 100%; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.gallery .track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.gallery .dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; }
.gallery .dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.7); transition: width .25s, background .25s; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.gallery .dots i.on { width: 20px; background: var(--ink); }
.gallery .zoom { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.chips-row .views { margin-left: auto; font-size: 12.5px; color: var(--mut); display: inline-flex; gap: 4px; align-items: center; }
.defects b { display: flex; align-items: center; gap: 6px; }
.seller-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); text-align: center; }
.seller-stats b { display: block; font-family: var(--font-h); font-size: 18px; }
.seller-stats span { font-size: 12px; color: var(--mut); }
.lightbox { position: fixed; inset: 0; background: rgba(12,12,13,.94); z-index: 300; display: grid; place-items: center; opacity: 0; transition: opacity .2s; touch-action: pan-y; }
.lightbox.in { opacity: 1; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lb-x, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-x { right: 16px; top: 16px; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; background: rgba(255,255,255,.12); padding: 5px 12px; border-radius: 999px; }
.sticky-buy { display: none; }
@media (max-width: 860px) {
  .sticky-buy { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 55; background: #fff; border-radius: 18px; padding: 10px 10px 10px 16px; box-shadow: 0 10px 30px rgba(28,28,30,.22); align-items: center; gap: 12px; }
  .sticky-buy div { flex: 1; min-width: 0; }
  .sticky-buy b { display: block; font-family: var(--font-h); font-size: 17px; }
  .sticky-buy span { display: block; font-size: 12.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body[data-page="barang"] main { padding-bottom: 80px; }
  .gallery .nav { display: none; }
}

/* ---------- auth ---------- */
.auth-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 960px; margin: 0 auto; align-items: stretch; }
.auth-side { display: none; }
@media (min-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr 1fr; padding-top: 48px; }
  .auth-side { display: flex; flex-direction: column; justify-content: center; background: var(--ink); color: #fff; border-radius: 24px 0 0 24px; padding: 40px; position: relative; overflow: hidden; }
  .auth-side svg { position: absolute; width: 340px; height: 340px; right: -110px; top: -110px; opacity: .9; }
  .auth-side h2 { font-size: 34px; color: #fff; position: relative; }
  .auth-side h2 em { font-style: normal; color: var(--lime); }
  .auth-side ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: #C9CAC4; }
  .auth-wrap .auth-card { max-width: none; }
  .auth-wrap .auth-card .panel { border-radius: 0 24px 24px 0; height: 100%; }
}
.auth-logo { display: inline-block; background: var(--ink); padding: 10px 18px; border-radius: 14px; }
.tabs { position: relative; }
.tabs button { position: relative; z-index: 1; transition: color .2s; }
.tabs button.on { background: transparent; box-shadow: none; }
.tab-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .3s cubic-bezier(.3,1.3,.6,1); }
.tabs[data-v="daftar"] .tab-ind { transform: translateX(100%); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--line); transition: background .25s; }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: var(--danger); }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: var(--warn); }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: var(--lime-d); }
.pw-meter[data-s="4"] i { background: var(--ok); }
#v-lupa .em-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--lime); display: grid; place-items: center; font-size: 28px; }

/* ---------- profil ---------- */
.profile-hero { display: flex; align-items: center; gap: 18px; padding: 28px 0 18px; }
.profile-hero h1 { font-size: clamp(24px, 3.2vw, 32px); margin: 0; }

/* ---------- pasang ---------- */
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: var(--lime); font-size: 13px; margin-right: 6px; vertical-align: 2px; }
.dropzone { position: relative; transition: box-shadow .2s, outline-color .2s; outline: 2px dashed transparent; outline-offset: -8px; }
.dropzone.drag { outline-color: var(--lime-d); box-shadow: 0 0 0 6px var(--lime-l); }
.drop-hint { display: none; position: absolute; inset: 8px; border-radius: 14px; background: rgba(238,251,196,.92); place-items: center; font-weight: 700; font-size: 18px; z-index: 3; }
.dropzone.drag .drop-hint { display: grid; }
.photo-slot { animation: pop .3s; }
.photo-slot .up { position: absolute; inset: 0; background: rgba(28,28,30,.45); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 600; }
.photo-slot .up.err { background: rgba(210,63,63,.75); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.ring-prog { --p: 0; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--lime) calc(var(--p) * 1%), rgba(255,255,255,.25) 0); -webkit-mask: radial-gradient(circle, transparent 15px, #000 16px); mask: radial-gradient(circle, transparent 15px, #000 16px); }
.form-aside { position: sticky; top: 82px; display: grid; gap: 16px; }
.form-aside .panel + .panel { margin-top: 0; }
.preview-card .card { max-width: 260px; margin: 0 auto; pointer-events: none; }
.meter { height: 8px; background: #E8E9E3; border-radius: 999px; overflow: hidden; margin: 10px 0 12px; }
.meter div { height: 100%; width: 0; background: linear-gradient(90deg, var(--lime-d), var(--lime)); border-radius: 999px; transition: width .4s cubic-bezier(.2,.7,.2,1); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--mut); }
.checklist li { display: flex; gap: 8px; align-items: center; transition: color .2s; }
.checklist li .ico { color: #C2C5B8; }
.checklist li.ok { color: var(--ink); }
.checklist li.ok .ico { color: var(--ok); }
.dim { opacity: .45; }
@media (max-width: 900px) { .form-aside { position: static; } .preview-card { display: none; } .form-aside > .panel:first-child { display: none; } }

/* ---------- barang saya / admin ---------- */
.warn-t { color: var(--warn); font-weight: 600; }
.row-item { transition: transform .15s, box-shadow .15s; }
.row-item:hover { box-shadow: 0 2px 4px rgba(28,28,30,.05), 0 12px 28px rgba(28,28,30,.09); }
.row-item .quote { margin-top: 6px; background: var(--bg); border-left: 3px solid var(--danger); padding: 6px 10px; border-radius: 0 8px 8px 0; font-size: 13.5px; }
a.stat-card { text-decoration: none; transition: transform .15s; }
a.stat-card:hover { transform: translateY(-2px); }
.tthumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.cbx { width: 18px; height: 18px; accent-color: #1C1C1E; }
tr.new-row { background: #FAFBF7; }
.pw-show { font-family: ui-monospace, Menlo, monospace; font-size: 22px; font-weight: 700; letter-spacing: .08em; background: var(--lime-l); border: 2px dashed var(--lime-d); border-radius: 12px; padding: 12px; text-align: center; margin: 8px 0 10px; user-select: all; }

/* toast & confetti */
.toast.out { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 400; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .filters { visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  .filters.open { visibility: visible; transition: transform .25s, visibility 0s; }
}

/* v2.1 — logo sejajar & kredit TaskKora */
.logo { display: inline-block; line-height: 1; white-space: nowrap; }
.logo .ring { display: inline-block; width: .86em; height: .86em; margin: 0 -.06em; vertical-align: -.13em; transform: none; align-self: auto; }
.credit .tk { display: inline-flex; align-items: center; gap: 10px; color: #E4E5E0; font-weight: 500; text-decoration: none; }
.credit .tk-badge { display: inline-flex; align-items: center; gap: 7px; background: #fff; border-radius: 10px; padding: 5px 12px 5px 8px; transition: transform .15s, box-shadow .15s; }
.credit .tk-badge img { width: 22px; height: 22px; display: block; }
.credit .tk-badge b { font-family: var(--font-h); font-weight: 700; font-size: 15px; color: #0B2A5B; letter-spacing: -.01em; }
.credit .tk:hover .tk-badge { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,79,199,.35); }
.credit .tk:hover b { text-decoration: none; }
