/*
 * designer-logo_warna.css — the "Emblem Logo Warna-warni" designer (lib/products/logo_warna.php). The shared pieces
 * (dropzone, hint, click-a-part palette, warnings) come from designer-gantungan_nama.css; this file adds the badges,
 * the sample logos, the colour rows (original colour dot + "Pakai" switch) and the colour-change guide.
 */
.lw-badges { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 10px 0 0; }
.lw-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--tint-1); color: var(--accent-text); font-size: .8rem; font-weight: 650; }
.lw-badges .icon { width: 14px; height: 14px; }

.lw-samples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 4px 0 8px; }
.lw-sample { appearance: none; display: grid; justify-items: center; gap: 3px; padding: 7px 5px 8px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface);
    font: inherit; color: var(--ink); cursor: pointer; transition: border-color .12s, transform .12s, box-shadow .12s; min-width: 0; }
.lw-sample img { width: 100%; max-width: 72px; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 10px; }
.lw-sample b { font-size: .8rem; line-height: 1.2; text-align: center; }
.lw-sample:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(40, 20, 80, .5); }
.lw-sample[aria-pressed="true"] { border-color: var(--accent); background: var(--tint-1); box-shadow: inset 0 0 0 1px var(--accent); }
.lw-sample:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }

.lw-count { font-size: .8rem; font-weight: 600; margin-left: auto; }
.lw-lc { margin: 8px 0 4px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 12px; transition: opacity .15s; }
.lw-lc.is-off { opacity: .55; }
.lw-lc.is-off .swatches { pointer-events: none; }
.lw-lc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.lw-lc-head .opt-sub { margin: 0; }
.lw-orig { flex: none; width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); }
.lw-keep { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 650; cursor: pointer; white-space: nowrap; }
.lw-keep input { width: 16px; height: 16px; accent-color: var(--accent); }

.ochip.is-disabled { opacity: .45; }
.lw-guide { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--tint-1); color: var(--ink-2); line-height: 1.45; }

@media (max-width: 420px) {
    .lw-samples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lw-sample img { max-width: 88px; }
}
