/* ================= CS BUBBLE (mengambang, semua halaman customer) ================= */
.cs-bubble-wrap {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cs-bubble-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #283e33;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(40, 62, 51, 0.35);
  transition: transform 0.15s;
}
.cs-bubble-btn:active { transform: scale(0.94); }
.cs-bubble-btn svg { transition: opacity 0.15s, transform 0.15s; }
.cs-bubble-btn .icon-close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.cs-bubble-btn.open .icon-chat { opacity: 0; transform: rotate(90deg); }
.cs-bubble-btn.open .icon-close { opacity: 1; transform: rotate(0deg); }

.cs-bubble-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
}
.cs-bubble-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cs-bubble-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 30px;
  padding: 10px 18px 10px 10px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  white-space: nowrap;
}
.cs-bubble-item .cs-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.cs-bubble-item.cs-whatsapp .cs-icon-circle { background: #25D366; }
.cs-bubble-item.cs-telegram .cs-icon-circle { background: #229ED9; }
.cs-bubble-item.cs-email .cs-icon-circle { background: #B08D57; }

@media (max-width: 520px) {
  .cs-bubble-wrap { right: 14px; bottom: 16px; }
  .cs-bubble-btn { width: 50px; height: 50px; }
}
