:root {
    --cw-accent: #25D366;
    /* WhatsApp yeşili */
    --cw-bg: #111827;
    /* panel arka plan (tema koyu) */
    --cw-text: #f9fafb;
    --cw-z: 60;
}

/* 1) Kabuğu sola al */
.cw-wrap{
  position: fixed;
  left: 16px;     /* ← sol */
  bottom: 16px;   /* ↓ alt */
  right: auto;
  top: auto;
  z-index: var(--cw-z);
}

/* 2) Panel balonun SAĞINDA açılıyorsa düzelt (balonun SAĞINDA değil, SOLUNDA açılacak) */
.cw-panel{
  left: 80px;             /* balonun solundan açılacaksa */
  right: auto;
  transform-origin: left bottom; /* animasyon için (varsa) */
}
.cw-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cw-accent);
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cw-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}

.cw-panel {
    position: absolute;
    right: 0;
    bottom: 50px;
    left: 50px;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: var(--cw-bg);
    color: var(--cw-text);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.cw-wrap.open .cw-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cw-header {
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.cw-body {
    padding: 12px;
    display: grid;
    gap: 10px;
}

.cw-primary {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: var(--cw-accent);
    color: #fff;
    font-weight: 600;
}

.cw-quick {
    display: grid;
    gap: 8px;
}

.cw-label {
    font-size: 12px;
    opacity: .7;
}

.cw-chip {
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: transparent;
    color: var(--cw-text);
    cursor: pointer;
}

.cw-chip:hover {
    background: rgba(255, 255, 255, .06);
}

.cw-call {
    display: inline-block;
    margin-top: 4px;
    color: #c8facc;
    text-decoration: none;
    font-weight: 600;
}

.cw-call:hover {
    text-decoration: underline;
}

/* hareket hassasiyeti olanlar için animasyonu azalt */
@media (prefers-reduced-motion: reduce) {

    .cw-fab,
    .cw-panel {
        transition: none;
    }
}