/** Shopify CDN: Minification failed

Line 222:0 Unexpected "}"

**/
/* ====== Widget ====== */
.kb-widget { padding: 0; font-family: 'Roboto', sans-serif; color: #111; }
.kb-row { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; cursor: pointer; text-align: left; transition: opacity .15s; margin-bottom: 6px; font-family: inherit; }
.kb-row:hover { opacity: .7; }
.kb-row-left { display: flex; flex-direction: column; gap: 3px; }
.kb-row-label { font-size: 16px; font-weight: 400; color: #86868C; }
.kb-row-val { font-size: 15px; font-weight: 600; color: #000; }
.kb-row-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.kb-row-edit { font-size: 14px; font-weight: 500; color: #2A64C5; text-decoration: underline; flex-shrink: 0; }
.kb-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.kb-total span { font-size: 15px; font-weight: 600; }
.kb-total-price { font-size: 22px; font-weight: 700; }
.kb-atc { width: 100%; padding: 14px; background: #0057FF; color: #fff; border: none; border-radius: 28px; font-size: 16px; font-weight: 600; cursor: pointer; letter-spacing: .3px; font-family: inherit; }
.kb-atc:disabled { background: #aaa; cursor: not-allowed; }

/* ====== Editor Layout ====== */
.kb-edt { position: fixed; inset: 0; z-index: 99999; background: #fff; display: flex; font-family: 'Roboto', sans-serif; color: #111; overflow: hidden; height: 100vh; }

/* Left sidebar — desktop: vertical nav, mobile: top bar with horizontal tabs */
.kb-edt-left { width: 15%; min-width: 180px; display: flex; flex-direction: column; background: #fafafa; border-right: 1px solid #eee; }
.kb-edt-lh { padding: 24px 20px 16px; border-bottom: 1px solid #eee; }
.kb-edt-lb { font-size: 16px; color: #000; text-decoration: none; font-weight: 500; }
.kb-edt-lb:hover { color: #333; }
.kb-edt-ln { flex: 1; overflow-y: auto; padding: 8px 0; }
.kb-edt-li { display: block; width: 100%; text-align: left; padding: 12px 20px; border: none; border-left: 3px solid transparent; background: transparent; cursor: pointer; font-size: 16px; font-family: inherit; color: #666; transition: all .15s; }
.kb-edt-li:hover { background: rgba(0,0,0,.04); }
.kb-edt-li.active { color: #111; font-weight: 600; border-left-color: #0057FF; background: #fff; }
.kb-edt-tabs { display: none; }
.kb-edt-tab { display: none; }
.kb-edt-tabs { display: none; }
.kb-edt-tab { display: none; }
.kb-tab-bar { display: none; }

/* Body row: center + right */
.kb-edt-body { flex: 1; display: flex; overflow: hidden; }

/* Center preview */
.kb-edt-center { flex: 1; display: flex; flex-direction: column; background: #f9f9f9; overflow: hidden; position: relative; }
.kb-edt-cp { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px; }
.kb-edt-cp img { width: 100%; height: 100%; object-fit: contain; }
.kb-edt-cph { color: #ccc; font-size: 14px; }
.kb-edt-cpimg { max-width: 100%; max-height: 100%; object-fit: contain; }
.kb-edt-cpcolor { width: 400px; height: 400px; border-radius: 20px; border: 1px solid #e5e5e5; }
.kb-edt-cs { border-top: 1px solid #eee; padding: 12px 16px; min-height: 60px; }
.kb-edt-csi { display: flex; flex-wrap: wrap; gap: 10px; }
.kb-edt-csit { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.08); max-width: 200px; flex-shrink: 0; }
.kb-edt-csth { flex-shrink: 0; }
.kb-edt-cstx { min-width: 0; }
.kb-edt-cstn { font-size: 12px; font-weight: 600; color: #111; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-edt-cstp { font-size: 11px; color: #888; margin: 1px 0 0; white-space: nowrap; }

@keyframes kbEq { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.3); } }

/* Audio island */
.kb-audio-bar { position: absolute; top: 12px; left: 0; right: 0; margin: 0 auto; z-index: 10; display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: #1a1a1a; border-radius: 24px; width: fit-content; min-width: 220px; max-width: 70%; }
.kb-audio-bars { display: flex; align-items: flex-end; gap: 2px; height: 24px; flex-shrink: 0; }
.kb-audio-bar-dot { width: 3px; background: #fff; border-radius: 1.5px; opacity: .9; }
.kb-audio-title { font-size: 13px; font-weight: 600; color: #fff; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-audio-group { font-size: 11px; color: rgba(255,255,255,.5); margin: 1px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-audio-btn { width: 18px; height: 18px; flex-shrink: 0; }

/* Right panel */
.kb-edt-right { width: 34%; min-width: 320px; max-width: 500px; display: flex; flex-direction: column; border-left: 1px solid #eee; position: relative; }
.kb-edt-rs { flex: 1; overflow-y: auto; padding: 28px 32px; }
.kb-edt-brand { font-size: 18px; color: #70707A; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 8px; font-weight: 500; }
.kb-edt-name { font-size: 32px; font-weight: 500; margin: 0 0 8px; line-height: 1.2; color: #000; }
.kb-edt-desc { font-size: 16px; color: #70707A; font-weight: 400; line-height: 1.5; margin-bottom: 120px; }

/* Sections */
.kb-sec { margin-bottom: 80px; }
.kb-sec-t { font-size: 24px; font-weight: 600; margin: 0; line-height: 1.3; }
.kb-sec-d { font-size: 16px; color: #1D1D1F; font-weight: 400; margin: 4px 0 16px; }

/* 2-column cards grid */
.kb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kb-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border: 2px solid #e5e5e5; border-radius: 14px; background: #fff; cursor: pointer; text-align: center; transition: border-color .15s; font-family: inherit; }
.kb-card:hover { border-color: #aaa; }
.kb-card.sel { border-color: #0057FF; }
.kb-card-c { min-width: 0; text-align: center; width: 100%; }
.kb-card-t { font-size: 14px; font-weight: 600; color: #000; margin: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; line-height: 1.3; max-width: 100%; }
.kb-card-p { font-size: 14px; color: #70707A; font-weight: 600; margin: 2px 0 0; }
.kb-none { justify-content: center; }
.kb-none .kb-card-c { display: flex; justify-content: center; }

/* Notes */
.kb-notes { font-size: 16px; color: #1D1D1F; line-height: 24px; margin: 8px 0; overflow-wrap: break-word; word-break: break-word; }
.kb-notes p { margin: 0 0 8px; }
.kb-notes span { line-height: inherit; }

/* Play/Pause */
.kb-play-btn { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.kb-pause-icon { display: none; }
.kb-play-btn.playing .kb-play-icon { display: none; }
.kb-play-btn.playing .kb-pause-icon { display: block; }

/* FAQ */
.kb-faq { width: 100%; text-align: left; background: #f5f5f7; border: none; border-radius: 12px; padding: 20px 16px; margin-top: 24px; cursor: pointer; position: relative; font-family: inherit; }
.kb-faq-t { font-size: 16px; font-weight: 500; color: #000; line-height: 24px; margin: 0 0 7px; padding-right: 35px; }
.kb-faq-p { font-size: 16px; font-weight: 400; color: #1D1D1F; line-height: 24px; margin: 0; padding-right: 35px; }
.kb-faq-icon { position: absolute; top: 10px; right: 10px; width: 25px; height: 25px; transition: transform .3s; }
.kb-faq.open .kb-faq-icon { transform: rotate(45deg); }
.kb-faq-body { display: none; }
.kb-faq.open .kb-faq-body { display: block; }
.kb-faq-divider { height: 1px; background: #e5e5e5; margin: 16px 0; display: block !important; }
.kb-faq-line { font-size: 16px; font-weight: 400; color: #292929; line-height: 32px; margin: 0; }

/* Footer — sticky inside right panel */
.kb-edt-ftr { display: flex; gap: 12px; padding: 16px 32px 24px; border-top: 1px solid #eee; background: #fff; position: sticky; bottom: 0; }
.kb-edt-save { flex: 1; padding: 12px 0; background: none; border: 1px solid #ddd; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; color: #666; font-family: inherit; }
.kb-edt-save:hover { background: #f5f5f5; }
.kb-edt-atc-btn { flex: 2; padding: 12px 0; background: #111; color: #fff; border: none; border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
.kb-edt-atc-btn:disabled { background: #aaa; cursor: not-allowed; }

/* Thumb */
.kb-thumb { border-radius: 50%; border: 2px solid #e8e8e8; flex-shrink: 0; overflow: hidden; background: #f5f5f5; box-shadow: 0 1px 3px rgba(0,0,0,.06); display: block !important; }
.kb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kb-thumb-color { border-radius: 50%; border: 2px solid #d5d5d5; flex-shrink: 0; background: #f5f5f5; box-shadow: 0 1px 4px rgba(0,0,0,.1); display: block !important; }

/* Tablet */
@media (max-width: 1024px) {
  .kb-edt-left { width: 130px; min-width: 130px; }
  .kb-edt-lh { padding: 24px 14px 12px; }
  .kb-edt-li { font-size: 14px; padding: 10px 14px; }
  .kb-edt-right { width: 50%; min-width: 260px; }
  .kb-grid { grid-template-columns: 1fr; }
}
/* Mobile — phones + portrait tablets */
@media (max-width: 768px) {
  .kb-edt { flex-direction: column; overflow: hidden; }
  .kb-edt-left { width: 100%; min-width: 0; flex-direction: row; border-right: none; border-bottom: 1px solid #eee; flex-shrink: 0; }
  .kb-edt-lh { padding: 8px 12px; border-bottom: none; }
  .kb-edt-lb { font-size: 14px; }
  .kb-edt-ln { display: none; }
  .kb-edt-li { display: none; }
  .kb-edt-tabs { display: flex; overflow-x: auto; flex: 1; -webkit-overflow-scrolling: touch; position: relative; }
  .kb-edt-tab { display: block; padding: 10px 14px; border: none; border-bottom: 3px solid transparent; background: transparent; cursor: pointer; font-size: 13px; font-family: inherit; color: #666; white-space: nowrap; flex-shrink: 0; }
  .kb-edt-tab.active { color: #111; font-weight: 600; border-bottom-color: #0057FF; }
  #kb-tab-bar { display: block; position: absolute; bottom: 0; left: 0; height: 3px; background: #0057FF; border-radius: 2px; transition: left .3s, width .3s; }
  .kb-edt-body { flex-direction: column; }
  .kb-edt-center { height: 50vh; flex: none; flex-shrink: 0; }
  .kb-edt-right { width: 100%; min-width: 0; max-width: none; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .kb-edt-rs { overflow-y: visible; }
  .kb-edt-rs { padding: 16px 16px 0 !important; }
  .kb-edt-desc { font-size: 14px !important; margin-bottom: 12px !important; }
  .kb-sec { margin-bottom: 36px !important; }
  .kb-sec-t { font-size: 20px; }
  .kb-sec-d { margin-bottom: 10px !important; }
  .kb-grid { grid-template-columns: 1fr 1fr; }
  .kb-edt-csi { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .kb-edt-ftr { position: sticky; bottom: 0; background: #fff; z-index: 5; }
}

/* ====== V1.2 Interaction Enhancements ====== */

/* Card hover lift + press */
.kb-card { transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s cubic-bezier(.34,1.56,.64,1), border-color .2s ease !important; }
.kb-card:hover:not(.kb-none) { transform: translateY(-4px) !important; box-shadow: 0 8px 32px rgba(0,0,0,.12) !important; }
.kb-card:active { transform: scale(.9) !important; transition: transform .12s ease !important; }

/* Selected card checkmark badge */
.kb-card { position: relative !important; }
.kb-card:not(.kb-none).sel::after {
  content: ''; position: absolute; top: -8px; right: -8px; width: 22px; height: 22px;
  border-radius: 50%; background: #0057FF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat; background-size: 12px;
  transform: scale(0); transition: transform .35s cubic-bezier(.34,1.56,.64,1) !important;
  box-shadow: 0 2px 10px rgba(0,87,255,.35);
}
.kb-card:not(.kb-none).sel::after { transform: scale(1) !important; }

/* Staggered card entrance */
.kb-card.stagger-in { opacity: 0; transform: translateY(12px); }
.kb-card.stagger-in.show { animation: staggerIn .45s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes staggerIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Price bump animation */
.kb-total-price.bump, .kb-edt-atc-btn.bump { animation: priceBump .45s cubic-bezier(.34,1.56,.64,1) !important; }
@keyframes priceBump { 0% { transform: scale(1); } 40% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ATC button morph */
.kb-atc, .kb-edt-atc-btn { position: relative; overflow: hidden; }
.kb-atc.success, .kb-edt-atc-btn.success { background: #34c759 !important; pointer-events: none; }
.kb-atc .atc-text, .kb-edt-atc-btn .atc-text { transition: all .2s ease; }
.kb-atc.success .atc-text, .kb-edt-atc-btn.success .atc-text { opacity: 0; transform: translateY(-20px); }
.kb-atc .atc-check, .kb-edt-atc-btn .atc-check {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.5); font-weight: 700; color: #fff; font-size: 14px;
  transition: all .35s cubic-bezier(.34,1.56,.64,1); pointer-events: none;
}
.kb-atc.success .atc-check, .kb-edt-atc-btn.success .atc-check { opacity: 1; transform: scale(1); }

/* Audio button reposition - top left, larger */
.kb-play-btn { top: 4px !important; right: auto !important; left: 4px !important; width: 28px !important; height: 28px !important; border-radius: 8px !important; }
.kb-play-btn svg { width: 13px !important; height: 13px !important; }

/* Footer buttons hover */
.kb-edt-save, .kb-edt-atc-btn { transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, background .2s ease !important; }
.kb-edt-save:hover { transform: translateY(-2px) !important; box-shadow: 0 4px 16px rgba(0,0,0,.08) !important; }
.kb-edt-atc-btn:hover:not(:disabled) { transform: translateY(-2px) !important; box-shadow: 0 4px 16px rgba(0,0,0,.15) !important; }
.kb-edt-save:active, .kb-edt-atc-btn:active { transform: scale(.96) !important; transition: transform .08s ease !important; }

/* Nav status dots */
.kb-edt-li { position: relative; }
.kb-edt-li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ccc;
  flex-shrink: 0; margin-right: 8px; display: inline-block; vertical-align: middle;
  transition: background .2s, box-shadow .2s;
}
.kb-edt-li.has-sel::before { background: #0057FF; box-shadow: 0 0 6px rgba(0,87,255,.4); }

/* Summary chips clickable */
.kb-edt-csit { cursor: pointer; transition: all .3s ease; user-select: none; }
.kb-edt-csit::after { content: ' \00d7'; color: #aaa; font-size: 14px; margin-left: 2px; opacity: 0; transition: opacity .2s; }
.kb-edt-csit:hover { background: #fff0f0 !important; border-color: #ffcccc !important; }
.kb-edt-csit:hover::after { opacity: 1; }
}
