/* Contact Buttons Pro v3.2 - Fixed */

.cbp {
    position: fixed !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 20px !important;
}

/* DESKTOP */
.cbp-pos-d-bottom-right { bottom: 30px !important; right: 30px !important; left: auto !important; top: auto !important; }
.cbp-pos-d-bottom-left { bottom: 30px !important; left: 30px !important; right: auto !important; top: auto !important; }
.cbp-pos-d-top-right { top: 30px !important; right: 30px !important; left: auto !important; bottom: auto !important; }
.cbp-pos-d-top-left { top: 30px !important; left: 30px !important; right: auto !important; bottom: auto !important; }

/* MOBILE */
@media (max-width: 768px) {
    .cbp {
        gap: 8px !important;
        padding: 12px !important;
        bottom: auto !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        width: auto !important;
        height: auto !important;
    }

    .cbp-pos-m-bottom-center {
        bottom: 95px !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        transform: translateX(-50%);
    }

    .cbp-pos-m-bottom-right {
        bottom: 95px !important;
        right: 15px !important;
        left: auto !important;
        top: auto !important;
    }

    .cbp-pos-m-bottom-left {
        bottom: 95px !important;
        left: 15px !important;
        right: auto !important;
        top: auto !important;
    }

    .cbp-pos-m-top-center {
        top: 20px !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translateX(-50%);
    }
}

/* BUTTON */
.cbp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    border: none !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    min-width: 150px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.cbp-btn:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

/* ICON */
.cbp-icon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

.cbp-main {
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
}

.cbp-noel {
    font-size: 12px !important;
    display: none !important;
    align-items: center !important;
}

.cbp-noel-on .cbp-noel {
    display: flex !important;
}

/* COLORS - BRAND ACCURATE */
.cbp-zalo {
    background: linear-gradient(135deg, #0084FF 0%, #0066CC 100%) !important;
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.3) !important;
}

.cbp-xmas .cbp-zalo {
    background: linear-gradient(135deg, #0084FF 0%, #D32F2F 50%, #0066CC 100%) !important;
}

.cbp-phone {
    background: linear-gradient(135deg, #27AE60 0%, #1E8449 100%) !important;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3) !important;
}

.cbp-xmas .cbp-phone {
    background: linear-gradient(135deg, #D32F2F 0%, #27AE60 50%, #1E8449 100%) !important;
}

.cbp-msger {
    background: linear-gradient(135deg, #00B2FF 0%, #0099E6 100%) !important;
    box-shadow: 0 6px 20px rgba(0, 178, 255, 0.3) !important;
}

.cbp-xmas .cbp-msger {
    background: linear-gradient(135deg, #1B5E20 0%, #00B2FF 50%, #0099E6 100%) !important;
}

.cbp-book {
    background: linear-gradient(135deg, #FFD700 0%, #FBC02D 100%) !important;
    color: #333 !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3) !important;
}

.cbp-xmas .cbp-book {
    background: linear-gradient(135deg, #D32F2F 0%, #FFD700 50%, #FBC02D 100%) !important;
}

/* EFFECTS */
.cbp-twinkle .cbp-btn {
    animation: cbp-twinkle 2s infinite !important;
}

@keyframes cbp-twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.cbp-shine .cbp-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent) !important;
    animation: cbp-shine 3s infinite !important;
    border-radius: 50px !important;
    pointer-events: none !important;
}

@keyframes cbp-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .cbp-btn {
        padding: 10px 18px !important;
        font-size: 13px !important;
        min-width: 130px !important;
    }

    .cbp-main {
        font-size: 16px !important;
    }

    .cbp-noel {
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .cbp-btn {
        padding: 9px 16px !important;
        font-size: 12px !important;
        min-width: 120px !important;
    }

    .cbp-main {
        font-size: 14px !important;
    }

    .cbp-noel {
        font-size: 10px !important;
    }
}
