/* ══════════════════════════════════════════════════════════════════
   ELITE PRODUCT CARD ACTIONS (Wishlist & Cart)
   Beyond Thinking Design System
   ══════════════════════════════════════════════════════════════════ */

/* Container for floating actions */
.offer-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* The Animated Action Bar */
.product-card-actions {
    position: absolute;
    top: 15px;
    right: -60px;
    /* Initially hidden */
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 10;
}

.offer-card:hover .product-card-actions {
    right: 15px;
    /* Slides in with bounce effect */
}

@media (max-width: 768px) {
    .product-card-actions {
        right: 15px;
        opacity: 1;
    }
}

/* Luxury Glassmorphism Buttons */
.luxury-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #111;
    font-size: 1.2rem;
}

.luxury-action-btn:hover {
    background: #000;
    color: #fff;
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Wishlist Active State */
.luxury-action-btn.active-wish {
    color: #fe4a49;
    background: #fff;
}

.luxury-action-btn.active-wish i {
    animation: heartBeat 0.5s ease-out;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.4) rotate(-5deg);
    }

    50% {
        transform: scale(1.2);
    }

    80% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Header Cart Animation */
.cart-animate-pop {
    animation: cartPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartPop {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.4) rotate(-15deg);
    }

    100% {
        transform: scale(1);
    }
}

/* Toast Enhancements */
#lofingo-toast {
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header Icon Badges */
.wish-count,
.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #dbac6b;
    /* Premium Gold */
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: 0.3s;
}

.icon-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.icon-link.active-nav i {
    color: #dbac6b;
}