/* Quick actions on reusable storefront product cards. */
.product-card .product-quick-actions {
    display: flex;
    gap: .6rem;
    margin-top: .9rem;
}

.product-card .product-quick-actions form {
    margin: 0;
}

.product-card .quick-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.product-card .quick-action-cart {
    background: #fff;
    color: var(--text);
}

.product-card .quick-action-cart:hover:not(:disabled) {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -8px rgba(79,70,229,.55);
}

.product-card .quick-action-buy {
    background: linear-gradient(135deg, var(--brand), #7c3aed);
    color: #fff;
    border-color: transparent;
}

.product-card .quick-action-buy:hover:not(:disabled) {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -8px rgba(79,70,229,.75);
}

.product-card .quick-action-btn:focus-visible {
    outline: 3px solid rgba(79,70,229,.22);
    outline-offset: 2px;
}

.product-card .quick-action-btn:disabled {
    opacity: .38;
    cursor: not-allowed;
}

@media (max-width: 575.98px) {
    .product-card .product-quick-actions {
        gap: .45rem;
        margin-top: .7rem;
    }

    .product-card .quick-action-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 1.05rem;
    }
}
