
/* ============================================================
   FLOATING BUTTONS — WhatsApp + Cart
============================================================ */

.floating-btns {
    position: fixed;
    bottom: 28px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    z-index: 9999;
    pointer-events: none;
}

.float-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease;
    pointer-events: auto;
    flex-shrink: 0;
}

.float-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

/* WhatsApp — green */
.float-btn--wa {
    background: #25D366;
}
.float-btn--wa:hover { background: #20bd5a; }

/* Cart — crimson */
.float-btn--cart {
    background: linear-gradient(135deg, var(--crimson), #8a0d13);
}

/* Cart item count badge */
.floating-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: var(--gold);
    color: #09090F;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    padding: 0 5px;
    display: none;
    pointer-events: none;
}

.floating-cart-count:not(:empty) {
    display: block;
}

/* Tooltip label */
.float-btn__tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(9,9,15,0.92);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.float-btn__tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(9,9,15,0.92);
}

.float-btn:hover .float-btn__tooltip {
    opacity: 1;
}

/* Mobile — smaller */
@media (max-width: 600px) {
    .floating-btns {
        bottom: 20px;
        right: 16px;
        gap: 12px;
    }
    .float-btn {
        width: 46px;
        height: 46px;
    }
    .float-btn__tooltip { display: none; }
}
