/* =========================================
   MODULE: PRODUCT CARD ACTIONS (LAYOUT)
   Shared container for Quick View & Quick Add
   ========================================= */

/* 1. The Container Shell */
.vortex-hover-actions {
    /* Positioning */
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;

    /* Flex Layout */
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    gap: 10px;
    /* Space between buttons */

    /* Animation State: Start */
    transform: scale(0.8);
    opacity: 0;
    transform-origin: bottom center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Interaction */
    pointer-events: none;
}

/* 2. Reveal Logic */
/* Show when hovering the product image... */
.wc-block-components-product-image:hover .vortex-hover-actions,
/* ...OR when a button inside requests persistence (e.g., Success state) */
.vortex-hover-actions.vortex-persist {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}