/* Craftie Store Enhancements */
#cn-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: #111111; color: #ffffff; padding: 10px 14px;
  box-shadow: 0 -2px 12px rgba(0,0,0,.35);
  font-family: inherit;
}
#cn-sticky-bar.cn-show { display: flex; }
#cn-sticky-bar .cn-bar-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
#cn-sticky-bar .cn-bar-design { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cn-sticky-bar .cn-bar-price { font-size: 13px; opacity: .85; }
#cn-sticky-bar .cn-bar-add {
  background: #f9db6f; color: #111111; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 15px; padding: 10px 18px; cursor: pointer; flex: 0 0 auto;
}
@media (min-width: 861px) { #cn-sticky-bar { display: none !important; } }

#cn-two-kit {
  margin-top: 18px; padding: 16px; border: 2px solid #111111; border-radius: 12px;
  background: #fffdf5;
}
#cn-two-kit .cn-two-title { font-weight: 800; font-size: 18px; margin-bottom: 2px; }
#cn-two-kit .cn-two-sub { font-size: 14px; opacity: .8; margin-bottom: 10px; }
#cn-two-kit .cn-two-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
#cn-two-kit select {
  width: 100%; padding: 10px; font-size: 15px; border: 1px solid #bbbbbb; border-radius: 8px; margin-bottom: 10px; background: #ffffff;
}
#cn-two-kit #cn-two-add {
  width: 100%; background: #111111; color: #ffffff; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 15px; padding: 12px 18px; cursor: pointer;
}
#cn-two-kit #cn-two-add:disabled { opacity: .6; cursor: wait; }

/* Grouped design picker (Suncatcher Kit) — brand colors: butter #FDDA66, baby blue #98D1F2, black, white */
.cn-picker-hidden { display: none !important; }
body.cn-grouped-on .wp-block-surecart-product-variant-pills { display: none !important; }
#cn-designs { margin: 6px 0 10px; }
#cn-designs .cn-designs-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
#cn-designs .cn-designs-title { font-weight: 800; font-size: 19px; }
#cn-designs .cn-designs-count { font-size: 13px; font-weight: 700; background: #98D1F2; color: #111111; border-radius: 999px; padding: 2px 10px; }
#cn-designs .cn-designs-search {
  width: 100%; padding: 11px 14px; font-size: 15px; border: 1.5px solid #111111;
  border-radius: 999px; margin-bottom: 10px; background: #ffffff; box-sizing: border-box;
}
#cn-designs .cn-chips {
  position: sticky; top: 0; z-index: 50; display: flex; gap: 8px; overflow-x: auto;
  padding: 8px 2px; background: rgba(255,255,255,.96); border-bottom: 1px solid #eeeeee;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
#cn-designs .cn-chips::-webkit-scrollbar { display: none; }
#cn-designs .cn-chip {
  flex: 0 0 auto; border: 1.5px solid #111111; background: #ffffff; color: #111111;
  border-radius: 999px; font-weight: 700; font-size: 13.5px; padding: 8px 14px; cursor: pointer;
}
#cn-designs .cn-chip.cn-active { background: #111111; color: #ffffff; }
#cn-designs .cn-group { scroll-margin-top: 120px; margin-top: 20px; }
#cn-designs .cn-group-title {
  font-size: 19px; font-weight: 800; margin: 0 0 10px; display: inline-block;
  border-bottom: 3px solid #FDDA66; padding-bottom: 3px;
}
#cn-designs .cn-group-count { font-size: 13px; font-weight: 600; opacity: .65; border-bottom: 0; }
#cn-designs .cn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(102px, 1fr)); gap: 10px; }
#cn-designs .cn-tile {
  position: relative; border: 2px solid #e3e3e3; border-radius: 12px; background: #ffffff;
  padding: 6px 6px 8px; cursor: pointer; text-align: center; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
#cn-designs .cn-tile:hover { border-color: #98D1F2; }
#cn-designs .cn-tile.cn-selected { border-color: #111111; box-shadow: 0 0 0 2px #98D1F2; }
#cn-designs .cn-tile.cn-selected::after {
  content: "\2713"; position: absolute; top: 6px; right: 6px; width: 22px; height: 22px;
  background: #FDDA66; color: #111111; border-radius: 50%; font-size: 14px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
#cn-designs .cn-tile-img { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: #f7f7f7; }
#cn-designs .cn-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
#cn-designs .cn-tile-name { font-size: 13px; font-weight: 600; line-height: 1.25; color: #111111; }
#cn-designs .cn-no-matches { padding: 14px 4px; font-size: 14.5px; }

#cn-playlist{margin:18px 0 4px;background:#000;border-radius:14px;padding:18px;text-align:center}
#cn-playlist .cn-play-title{color:#fff;font-weight:800;font-size:1.15rem}
#cn-playlist .cn-play-sub{color:#e8e8e8;font-size:.92rem;line-height:1.5;margin:6px 0 12px}
#cn-playlist .cn-play-btn{display:inline-block;background:#FDDA66;color:#000;font-weight:800;padding:10px 22px;border-radius:999px;text-decoration:none}
