/* Floating Buttons Styles */

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 130px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #0d6efd;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cart-btn:hover {
    background: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
}

.floating-cart-btn:active {
    transform: translateY(-1px);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 12px;
    font-weight: 600;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    animation: none;
}

.floating-whatsapp-btn:active {
    transform: translateY(-1px);
}

/* WhatsApp Pulse Animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .floating-cart-btn {
        bottom: 120px;
        right: 15px;
    }
    
    .floating-whatsapp-btn {
        bottom: 55px;
        right: 15px;
    }
}

@media (max-width: 768px) {
    .floating-cart-btn,
    .floating-whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .floating-cart-btn {
        bottom: 110px;
        right: 15px;
    }
    
    .floating-whatsapp-btn {
        bottom: 50px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .floating-cart-btn,
    .floating-whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .floating-cart-btn {
        bottom: 100px;
        right: 10px;
    }
    
    .floating-whatsapp-btn {
        bottom: 45px;
        right: 10px;
    }
    
    .cart-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* Hide buttons on specific pages if needed */
.hide-floating-buttons .floating-cart-btn,
.hide-floating-buttons .floating-whatsapp-btn {
    display: none !important;
}

