/* ✏️ KELOLA KATALOG (11 Nov 2026, Editor — js/catedit.js) */
.kc-pen { position: absolute; right: 8px; bottom: 46px; z-index: 3; width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--accent); background: rgba(10,10,12,.82); color: var(--accent); font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.kc-pen:hover { background: var(--accent); color: #15100a; }
.kc-pend { position: absolute; left: 8px; bottom: 34px; z-index: 3; font: 700 9.5px/1 var(--f-mono); letter-spacing: .06em; padding: 4px 7px; border-radius: 5px; background: #2b2412; color: #e3c27c; border: 1px solid #c9a55c; }
.kc-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; padding: 10px 14px; border: 1px dashed var(--accent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 7%, transparent); font-size: 13px; color: var(--fg-muted); }
.kc-bar span { flex: 1; min-width: 200px; } .kc-bar b { color: var(--fg); }
.kc-addln { margin-left: 6px; padding: 5px 11px; border-radius: 8px; border: 1px dashed var(--accent); background: transparent; color: var(--accent); font: 600 12px var(--f-body); cursor: pointer; white-space: nowrap; }
.kc-newcard { min-height: 220px; border: 1px dashed var(--accent); border-radius: var(--r); background: color-mix(in srgb, var(--accent) 5%, transparent); color: var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; font: 600 14px var(--f-display); }
.kc-newcard b { font-size: 30px; font-weight: 400; } .kc-newcard small { font: 12px var(--f-body); color: var(--fg-muted); }
.kc-btn { padding: 9px 15px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--fg); font: 600 13px var(--f-body); cursor: pointer; white-space: nowrap; }
.kc-btn.pri { background: var(--accent); border-color: var(--accent); color: #15100a; } .kc-btn:disabled { opacity: .6; cursor: wait; }
.kc-ov { position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.66); display: none; align-items: flex-start; justify-content: center; padding: 26px 16px; overflow: auto; }
.kc-ov.open { display: flex; }
.kc-mod { width: min(1000px, 100%); background: #141418; color: #ece9e2; border: 1px solid #2a2a32; border-radius: 18px; overflow: hidden; }
.kc-mh { display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid #2a2a32; }
.kc-mh h2 { flex: 1; margin: 0; font: 600 17px var(--f-display); }
.kc-tag { font: 600 10px/1 var(--f-mono); letter-spacing: .08em; padding: 4px 7px; border-radius: 6px; background: rgba(216,180,106,.15); color: #d8b46a; }
.kc-x { border: 0; background: transparent; color: #9a968c; font-size: 18px; cursor: pointer; }
.kc-mb { display: grid; grid-template-columns: 1.25fr 1fr; }
.kc-col { padding: 18px 20px; min-width: 0; } .kc-col2 { border-left: 1px solid #2a2a32; background: #1b1b21; }
.kc-sec { font: 600 11px var(--f-mono); letter-spacing: .09em; color: #9a968c; margin: 18px 0 8px; } .kc-sec:first-child { margin-top: 0; }
.kc-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.kc-fld { margin-bottom: 10px; } .kc-fld label { display: block; font-size: 12px; color: #9a968c; margin-bottom: 4px; }
.kc-in { width: 100%; box-sizing: border-box; background: #0d0d10; border: 1px solid #2a2a32; border-radius: 9px; padding: 9px 11px; color: #ece9e2; font: 14px var(--f-body); }
.kc-in:focus { outline: none; border-color: #d8b46a; } .kc-ta { min-height: 64px; resize: vertical; }
.kc-hint { font-size: 11.5px; color: #9a968c; margin-top: 4px; } .kc-hint code, .kc-mod code { font-family: var(--f-mono); color: #e3c27c; }
.kc-warn { font-size: 12px; border: 1px solid rgba(229,103,92,.5); background: rgba(229,103,92,.08); color: #f2b2ab; padding: 8px 10px; border-radius: 9px; margin: 2px 0 8px; }
.kc-chk { display: flex; gap: 8px; align-items: center; font-size: 13px; margin: 7px 0; cursor: pointer; } .kc-chk input { accent-color: #d8b46a; width: 16px; height: 16px; }
.kc-spec { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr) 30px; gap: 6px; margin-bottom: 6px; }
.kc-d { border: 0; background: transparent; color: #9a968c; cursor: pointer; font-size: 13px; }
.kc-adds { display: flex; gap: 14px; flex-wrap: wrap; }
.kc-add { border: 0; background: transparent; color: #d8b46a; font: 600 12.5px var(--f-body); cursor: pointer; padding: 4px 0; }
.kc-photos { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.kc-pt { aspect-ratio: 1; border-radius: 10px; background: #fff; position: relative; display: flex; align-items: center; justify-content: center; border: 1px solid #2a2a32; overflow: hidden; }
.kc-pt img { max-width: 88%; max-height: 88%; object-fit: contain; }
.kc-pt .m { position: absolute; bottom: 4px; left: 4px; font: 700 9px var(--f-mono); background: #d8b46a; color: #17140d; padding: 2px 5px; border-radius: 4px; }
.kc-pt-act { position: absolute; top: 3px; right: 3px; display: flex; gap: 2px; }
.kc-pt-act button { width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(10,10,12,.85); color: #fff; font-size: 9px; cursor: pointer; padding: 0; }
.kc-pt.up { background: transparent; border: 1px dashed #d8b46a; color: #d8b46a; flex-direction: column; font-size: 11px; gap: 2px; cursor: pointer; } .kc-pt.up b { font-size: 20px; font-weight: 400; }
.kc-vpick { display: block; cursor: pointer; color: #9a968c; } .kc-vid { font-size: 13px; display: flex; align-items: center; gap: 8px; word-break: break-all; }
.kc-prevwrap { max-width: 250px; } .kc-prevwrap .product-card { background: #141418; border-color: #2a2a32; color: #ece9e2; }
.kc-hist { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 4px 0; border-bottom: 1px solid #2a2a32; }
.kc-mf { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid #2a2a32; flex-wrap: wrap; }
.kc-mf .s { flex: 1; min-width: 180px; color: #9a968c; font-size: 12px; } .kc-mf .kc-btn { color: #ece9e2; border-color: #2a2a32; } .kc-mf .kc-btn.pri { color: #15100a; border-color: #d8b46a; }
.kc-prog { position: fixed; right: 24px; bottom: 24px; z-index: 1150; width: 360px; background: #141418; color: #ece9e2; border: 1px solid #d8b46a; border-radius: 14px; padding: 16px 18px; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.kc-prog h3 { margin: 0 24px 10px 0; font: 600 14px var(--f-display); } .kc-prog .kc-x { position: absolute; top: 10px; right: 10px; }
.kc-st { font-size: 13px; margin: 6px 0; } .kc-st.wait { color: #9a968c; } .kc-st.run { color: #e3c27c; }
.kc-bar2 { height: 5px; background: #2a2a32; border-radius: 4px; margin: 10px 0 6px; overflow: hidden; } .kc-bar2 i { display: block; height: 100%; background: #d8b46a; transition: width .5s; }
@media (max-width: 720px) {
  .kc-ov { padding: 0; } .kc-mod { border-radius: 0; min-height: 100%; }
  .kc-mb { grid-template-columns: 1fr; } .kc-col2 { border-left: 0; border-top: 1px solid #2a2a32; }
  .kc-in { font-size: 16px; } .kc-prog { left: 12px; right: 12px; width: auto; bottom: 80px; }
  .kc-addln { display: none; }
}
/* 🗑 Hapus produk (27 Nov 2026) */
.kc-mf .kc-btn.kc-del { color: #ff8a80; border-color: rgba(255,107,95,.45); background: rgba(255,107,95,.08); margin-right: 4px; }
.kc-mf .kc-btn.kc-del:hover { background: rgba(255,107,95,.18); }
