/* =====================================================
   BD FLOATING ACTION BUTTONS
   ===================================================== */

.bd-fab-wrap {
    position: fixed;
    bottom: 28px;
    right: 22px;
    z-index: 9000;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
}

/* Each button */
.bd-fab-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    text-decoration: none;
}

/* Label tooltip */
.bd-fab-label {
    background: rgba(15,23,42,.88);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .2s, transform .2s;
    pointer-events: none;
    letter-spacing: .02em;
}
.bd-fab-item:hover .bd-fab-label { opacity: 1; transform: translateX(0); }

/* Icon circle */
.bd-fab-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,.2);
    transition: transform .25s cubic-bezier(.34,1.2,.64,1), box-shadow .2s;
    flex-shrink: 0;
    position: relative;
}
.bd-fab-item:hover .bd-fab-icon {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 10px 32px rgba(0,0,0,.25);
}

/* Count badge */
.bd-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
}

/* WhatsApp button */
.bd-fab-whatsapp .bd-fab-icon { background: linear-gradient(135deg, #25d366, #128c7e); }

/* Cart button */
.bd-fab-cart .bd-fab-icon { background: linear-gradient(135deg, #ff4da6, #2563eb); }

/* Chat button */
.bd-fab-chat .bd-fab-icon { background: linear-gradient(135deg, #0099ff, #005bea); }

/* Phone button */
.bd-fab-phone .bd-fab-icon { background: linear-gradient(135deg, #10b981, #059669); }

/* Custom color applied via style attr */

/* Pulse animation for WhatsApp */
.bd-fab-whatsapp .bd-fab-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: bd-fab-pulse 2.5s ease-out infinite;
    z-index: -1;
}
@keyframes bd-fab-pulse {
    0%   { transform: scale(1); opacity: .6; }
    60%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Responsive */
@media (max-width: 600px) {
    .bd-fab-wrap { bottom: 16px; right: 14px; gap: 10px; }
    .bd-fab-icon { width: 46px; height: 46px; font-size: 18px; }
    .bd-fab-label { display: none; }
}
